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

possible buffer overflow when the input filename is too long #12

Open
okias opened this issue Aug 6, 2017 · 1 comment
Open

possible buffer overflow when the input filename is too long #12

okias opened this issue Aug 6, 2017 · 1 comment

Comments

@okias
Copy link

okias commented Aug 6, 2017

Hello.

Source code says:

char output_name[200]; /* FIXME: dangerous limit */
[...]
input_name = argv[optind];
[...]
strcpy (output_name, input_name);

This can't be good. Gentoo patchset doesn't cover this.

Please fix.

[1] https://bugs.gentoo.org/594444

@rrthomas
Copy link

I have taken over the project at https://github.com/rrthomas/ and the bug is fixed in current git there; release shortly.

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

No branches or pull requests

2 participants