When looking at the source code, I noticed that
|
prog, prefix, *argv, suffix ? suffix : ""); |
doesn't check whether
prefix==NULL like line 3944. Does it mean that at line 3936,
prefix!=NULL? If
prefix can be null, then the
fprintf may cause undefined behaviors.
When looking at the source code, I noticed that
libpng/contrib/tools/pngfix.c
Line 3936 in d1d0abe
prefix==NULLlike line 3944. Does it mean that at line 3936,prefix!=NULL? Ifprefixcan be null, then thefprintfmay cause undefined behaviors.