diff options
author | Jia Zhouyang <jiazhouyang@nudt.edu.cn> | 2017-07-25 00:37:12 +0800 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2017-07-25 08:54:47 +0200 |
commit | 9f87a7b3aa0ef520ec9f39c049cd8b947c73429e (patch) | |
tree | 95b14e558762c6cc33a0787e26bc9b10d7f31938 /privs.c | |
parent | 3261379f19ad0da4c32e8ab5654a84bf5d17282a (diff) |
mausezahn: fix segmentation fault
Mausezahn will crash when given wrong payload file, e.g., "$./mausezahn
-f wrong_file". This patch fixes the segmentation fault by adding
error-handling code to fopen.
Signed-off-by: Zhouyang Jia <jiazhouyang09@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'privs.c')
0 files changed, 0 insertions, 0 deletions