mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-27 23:19:16 +00:00
various security fixes and precautionary checks
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f14d4e7e21
commit
0ecca7a49f
36 changed files with 314 additions and 89 deletions
|
@ -35,10 +35,10 @@ void show_help_options(const OptionDef *options, const char *msg, int mask, int
|
|||
printf("%s", msg);
|
||||
first = 0;
|
||||
}
|
||||
strcpy(buf, po->name);
|
||||
pstrcpy(buf, sizeof(buf), po->name);
|
||||
if (po->flags & HAS_ARG) {
|
||||
strcat(buf, " ");
|
||||
strcat(buf, po->argname);
|
||||
pstrcat(buf, sizeof(buf), " ");
|
||||
pstrcat(buf, sizeof(buf), po->argname);
|
||||
}
|
||||
printf("-%-17s %s\n", buf, po->help);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue