Open GoogleCodeExporter opened 9 years ago
Hi, actually rats segfault for all long argument that does not exist.
The array long_options, the fourth parameter of getopt_long, must be terminated
with all fields to 0.
The patch to fix this issue is attached to this comment.
Original comment by inceax64
on 2 Jul 2013 at 3:41
Attachments:
Looks like this should be closed now, since it appears the patch was applied.
Original comment by gavinswa...@gmail.com
on 20 Feb 2014 at 8:50
This was fixed on this line: https://github.com/andrew-d/rough-auditing-tool-for-security/blob/master/main.c#L284
As part of d7070c191cfba8372caf5dc023611bb32b998c46
Original issue reported on code.google.com by
gavinswa...@gmail.com
on 20 May 2013 at 11:43