You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
WARNING:cve_bin_tool.TempDirExtractorContext:Failure extracting '/data/poky-tmp/master/deploy/ipk/corei7-64/linux-libc-headers-dbg_4.18-r0_corei7-64.ipk'
So the problem here is that data.tar could be compressed with xz:
$ ar x sln_2.28-r0_corei7-64.ipk
$ ls
control.tar.gz data.tar.xz debian-binary sln_2.28-r0_corei7-64.ipk
However, the data is alwayscalled data.tar.* so there's no need to look into control.tar.gz at all.
The text was updated successfully, but these errors were encountered:
rossburton
added a commit
to rossburton/cve-bin-tool
that referenced
this issue
Jan 21, 2019
A Debian package is an 'ar' archive with two files:
- control.tar.gz (metadata)
- data.tar.* (content)
Because cve-bin-tool only cares about the content it can skip iterating the
unpacked archives and go straight to data.tar. This file may be compressed with
a number of compressors so don't hardcode gzip, use glob to find the filename
and let tar determine how to unpack it.
Fixesintel#2
Signed-off-by: Ross Burton <ross.burton@intel.com>
So the problem here is that data.tar could be compressed with xz:
However, the data is always
called data.tar.*
so there's no need to look intocontrol.tar.gz
at all.The text was updated successfully, but these errors were encountered: