We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3ed270 commit 6fcecd0Copy full SHA for 6fcecd0
1 file changed
tools/plistutil.c
@@ -246,6 +246,7 @@ int main(int argc, char *argv[])
246
247
plist_entire = (char *) malloc(sizeof(char) * (filestats.st_size + 1));
248
read_size = fread(plist_entire, sizeof(char), filestats.st_size, iplist);
249
+ plist_entire[read_size] = '\0';
250
fclose(iplist);
251
}
252
0 commit comments