Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation Fault under cygwin rats v2.3 #5

Open
GoogleCodeExporter opened this issue May 18, 2015 · 3 comments
Open

Segmentation Fault under cygwin rats v2.3 #5

GoogleCodeExporter opened this issue May 18, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. $ rats -w 3
2. seg fault

What is the expected output? What do you see instead?
Should not seg fault

What version of the product are you using? On what operating system?
2.3 cygwin windows 7

Please provide any additional information below.
also segfaults on "rats --version". Looks like it's a problem parsing command 
line options.

Original issue reported on code.google.com by [email protected] on 20 May 2013 at 11:43

@GoogleCodeExporter
Copy link
Author

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:

@GoogleCodeExporter
Copy link
Author

Looks like this should be closed now, since it appears the patch was applied.

Original comment by [email protected] on 20 Feb 2014 at 8:50

@fukanchik
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants