Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.security > #5408 > unrolled thread

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

Started byErik Sjölund <erik.sjolund@gmail.com>
First post2018-05-01 13:10 +0200
Last post2018-05-01 13:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.security


Contents

  I created a script to detect if an empty argv triggers a segfault Erik Sjölund <erik.sjolund@gmail.com> - 2018-05-01 13:10 +0200

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

FromErik Sjölund <erik.sjolund@gmail.com>
Date2018-05-01 13:10 +0200
SubjectI created a script to detect if an empty argv triggers a segfault
Message-ID<vKBkt-1Q9-1@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.debian.security


csiph-web