diff options
author | Mark Wielaard <mark@klomp.org> | 2019-06-24 00:14:02 +0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2019-06-24 00:14:06 +0200 |
commit | 833548edc0eb4af85ce8da193835f0f31a6c300f (patch) | |
tree | 0e7937211f4e0a6b278288b8aa82bc247a87b40f /bzlib.c | |
parent | 02fe3ca2349e45eee6dff6ca46bf9a9187f382c5 (diff) | |
download | bzip2-833548edc0eb4af85ce8da193835f0f31a6c300f.tar.gz bzip2-833548edc0eb4af85ce8da193835f0f31a6c300f.tar.bz2 bzip2-833548edc0eb4af85ce8da193835f0f31a6c300f.zip |
bzip2recover: Fix buffer overflow for large argv[0].
bzip2recover.c (main) copies argv[0] to a statically sized buffer
without checking whether argv[0] might be too big (> 2000 chars).
This patch comes from Fedora and was originally reported at
https://bugzilla.redhat.com/show_bug.cgi?id=226979
Diffstat (limited to 'bzlib.c')
0 files changed, 0 insertions, 0 deletions