summaryrefslogtreecommitdiff
path: root/trafgen_dev.c
diff options
context:
space:
mode:
authorJia Zhouyang <jiazhouyang@nudt.edu.cn>2017-07-25 00:37:12 +0800
committerTobias Klauser <tklauser@distanz.ch>2017-07-25 08:54:47 +0200
commit9f87a7b3aa0ef520ec9f39c049cd8b947c73429e (patch)
tree95b14e558762c6cc33a0787e26bc9b10d7f31938 /trafgen_dev.c
parent3261379f19ad0da4c32e8ab5654a84bf5d17282a (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 'trafgen_dev.c')
0 files changed, 0 insertions, 0 deletions