Skip to content

malformed rar crashes bsdtar #504

Open
@kwrobot

Description

@kwrobot

Original issue 396 created by Google Code user hanno@hboeck.de on 2015-02-03T03:44:10.000Z:

<b>What steps will reproduce the problem?</b>
1. run bsdtar -xf crash.rar
2. segfault

<b>What version are you using?</b>
git head (e6c9668f3202215ddb71617b41c19b6f05acf008)

<b>On what operating system?</b>
Linux

<b>How did you build?  (cmake, configure, or pre-packaged binary)</b>
cmake

<b>What compiler or development environment (please include version)?</b>
gcc 4.9.2

<b>Please provide any additional information below.</b>

Crash with malformed rar file, found with american fuzzy lop. I'll attach valgrind and address sanitizer output. Looks like a null ptr.

See attachment: crash.rar
See attachment: crash.rar.asan.txt
See attachment: crash.rar.valgrind.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions