This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
cmdutils_read_file: increment *size after writing the trailing \0
Fixes CID732166.
tags/n1.1
Janne Grunau
12 years ago
parent
ac9a89562a
commit
b94e4acb48
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
cmdutils.c
+ 1
- 1
cmdutils.c
View File
@@ -1061,7 +1061,7 @@ int cmdutils_read_file(const char *filename, char **bufptr, size_t *size)
ret = AVERROR_EOF;
} else {
ret = 0;
(*bufptr)[*size++] = '\0';
(*bufptr)[
(
*size
)
++] = '\0';
}
fclose(f);
Write
Preview
Loading…
Cancel
Save