Fixed string not null terminated when reading maskfiles

This commit is contained in:
jsteube
2017-02-14 11:14:32 +01:00
parent 8ebd5188eb
commit dc4f96f42e
4 changed files with 41 additions and 3 deletions

View File

@@ -14,6 +14,8 @@ u64 count_lines (FILE *fd);
int fgetl (FILE *fp, char *line_buf);
size_t superchop_with_length (char *buf, const size_t len);
int in_superchop (char *buf);
#endif // _FILEHANDLING_H