[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

I created a script to detect if an empty argv triggers a segfault



Hi,
Dereferencing argv[0] without checking for argc == 0,
is most probably not a security issue, but it could be a sign for
a bit sloppy programming.

I created a test to see which programs segfault when started
with an empty argv
https://github.com/eriksjolund/empty-argv-segfault-check

Please have a look if anyone is interested.
Kind regards,
Erik Sjölund


Reply to: