mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 22:12:28 +01:00
Recover from panics from the stdlib when cataloging malformed binaries (#663)
* recover from panics in stdlib binary parsing Signed-off-by: Alex Goodman <alex.goodman@anchore.com> * add CLI test to cover regression case Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
FROM debian:sid
|
||||
ADD sources.list /etc/apt/sources.list.d/sources.list
|
||||
RUN apt update -y && apt install -y dpkg-dev
|
||||
# this as a "macho-invalid" directory which is useful for testing
|
||||
RUN apt-get source -y clang-13
|
||||
@@ -0,0 +1 @@
|
||||
deb-src http://deb.debian.org/debian sid main
|
||||
Reference in New Issue
Block a user