Hi Zhouyang Jia, Your fix looks reasonable.
Would you please send patch in git-format (you can look at SubmittingPatches file), or send a pull request ? Thanks, Vadim Kochan On Mon, Jul 24, 2017 at 5:08 PM, Zhouyang Jia <jiazhouyan...@gmail.com> wrote: > Hi, > > I'm new to netsniff-ng and I find that the component, mausezahn, would > crash if input a wrong payload file, e.g., "$./mausezahn -f wrong_file" > will trigger a segfault. > > I think it would be better if mausezahn could exit gracefully with proper > log messages. Attached please find the patch against version > netsniff-ng-0.6.3. Hopefully, it can solve this problem. > > Best, > Zhouyang > > -- > You received this message because you are subscribed to the Google Groups > "netsniff-ng" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to netsniff-ng+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To unsubscribe from this group and stop receiving emails from it, send an email to netsniff-ng+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.