diff options
author | Daniel Roberson <daniel@planethacker.net> | 2018-04-18 21:52:01 -0700 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2018-04-19 16:13:56 +0200 |
commit | 15f78c073276ad49b3541215b2a302b1a32c9f2b (patch) | |
tree | 3e2175cb2b44dd79d017ecce4c1e307032ace840 /privs.c | |
parent | 65ba0860baa53670e79211edbd047a8080ec1f8a (diff) |
mausezahn: fix strtok() segfault if s or m are missing
The -d flag will result in a segmentation fault if 'm' or 's' are
specified without a numeric value.
Example: mausezahn -d m ### Results in a crash
Signed-off-by: Daniel Roberson <daniel@planethacker.net>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'privs.c')
0 files changed, 0 insertions, 0 deletions