- The format specifiers for the literal % symbols in the help text
weren't correct, leading to vfprintf attempting to parse them, and
winding up hitting garbage pointers as a consequence, leading to a crash.
This commit is contained in:
Rene Gollent 2013-10-09 22:03:45 -04:00
parent 111e76b755
commit db74c31d28

View File

@ -82,10 +82,10 @@ static const char* kUsage =
" -f <format>, --format <format>\n"
" - Print the given format string, performing the following\n"
" replacements:\n"
" %fileName% - the package's canonical file name\n"
" %name% - the package name\n"
" %version% - the package version\n"
" %% - %\n"
" %%fileName%% - the package's canonical file name\n"
" %%name%% - the package name\n"
" %%version%% - the package version\n"
" %%%% - %%\n"
" \n - new line\n"
" \t - tab\n"
"\n"