Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.security > #5408 > unrolled thread
| Started by | Erik Sjölund <erik.sjolund@gmail.com> |
|---|---|
| First post | 2018-05-01 13:10 +0200 |
| Last post | 2018-05-01 13:10 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.security
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
| From | Erik Sjölund <erik.sjolund@gmail.com> |
|---|---|
| Date | 2018-05-01 13:10 +0200 |
| Subject | I 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
Back to top | Article view | linux.debian.security
csiph-web