Package: cpio / 2.13+dfsg-7.1~deb11u1

Metadata

Package Version Patches format
cpio 2.13+dfsg-7.1~deb11u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
695717 no cpio.info 2.patch | (download)

doc/Makefile.am | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 no-cpio.info-2


fix.win32 compat.patch | (download)

lib/rtapelib.c | 1 1 + 0 - 0 !
src/copyin.c | 1 1 + 0 - 0 !
src/idcache.c | 1 1 + 0 - 0 !
src/makepath.c | 1 1 + 0 - 0 !
src/userspec.c | 1 1 + 0 - 0 !
5 files changed, 5 insertions(+)

 fix.win32-compat


autoreconf.patch | (download)

Makefile.in | 23 13 + 10 - 0 !
aclocal.m4 | 191 87 + 104 - 0 !
configure | 206 109 + 97 - 0 !
doc/Makefile.in | 393 44 + 349 - 0 !
gnu/Makefile.in | 726 550 + 176 - 0 !
lib/Makefile.in | 75 49 + 26 - 0 !
rmt/Makefile.in | 46 28 + 18 - 0 !
src/Makefile.in | 92 68 + 24 - 0 !
tests/Makefile.in | 57 35 + 22 - 0 !
9 files changed, 983 insertions(+), 826 deletions(-)

 autoreconf


Wrong CRC with ASCII CRC for large files.patch | (download)

src/copyout.c | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 wrong crc with ascii crc for large files

Due to signedness, the checksum is not computed when filesize is bigger
a 2GB.

Signed-off-by: Stefano Babic <sbabic@denx.de>

fix.better.handle.device.nodes.cramfs.565474.patch | (download)

src/copyout.c | 13 8 + 5 - 0 !
1 file changed, 8 insertions(+), 5 deletions(-)

 better handle device nodes from cramfs.


fix.fatal.exits.mt.576637.patch | (download)

src/Makefile.am | 2 2 + 0 - 0 !
src/mt.c | 2 2 + 0 - 0 !
2 files changed, 4 insertions(+)

 return mt_exit_failure instead of mt_exit_invop for fatal exits from
 mt.


fix.other.bugs.patch | (download)

lib/rtapelib.c | 2 2 + 0 - 0 !
lib/sysdep.c | 10 9 + 1 - 0 !
lib/sysdep.h | 4 3 + 1 - 0 !
src/main.c | 2 2 + 0 - 0 !
4 files changed, 16 insertions(+), 2 deletions(-)

 fix other bugs


fix.win32.out pass.mode.579533.patch | (download)

gnu/fcntl.in.h | 5 4 + 1 - 0 !
lib/system.h | 5 0 + 5 - 0 !
2 files changed, 4 insertions(+), 6 deletions(-)

 fix corrupted output in -win32 build

218086 reporting bugs.patch | (download)

doc/cpio.1 | 16 16 + 0 - 0 !
1 file changed, 16 insertions(+)

 reporting-bugs


588020 manpages see also.patch | (download)

doc/cpio.1 | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 manpages-see-also


695717 no cpio.info.patch | (download)

doc/cpio.1 | 24 0 + 24 - 0 !
1 file changed, 24 deletions(-)

 do not build cpio.info anymore

Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695717
fix.win32.undef.stat.patch | (download)

gnu/sys_stat.in.h | 54 0 + 54 - 0 !
1 file changed, 54 deletions(-)

 prevent undefinition of stat

MinGW-w64 redefines the stat structure, and the rpl_ redefinitions in
sys/stat.h here play havoc with that. In any case rpl_stat isn't
defined...

fix.mt erase.manpage.patch | (download)

doc/mt.1 | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 identify how to perform "fast erase" operations on devices that

Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770198

support it.

revert CVE 2015 1197 handling.patch | (download)

src/copyin.c | 2 0 + 2 - 0 !
tests/testsuite | 2 1 + 1 - 0 !
2 files changed, 1 insertion(+), 3 deletions(-)

 fix a regression in handling of cve-2015-1197 &
 --no-absolute-filenames.

See:

  * https://bugs.debian.org/946267
  * https://bugs.debian.org/946469

963304 remove superfluous declaration of program_name | (download)

src/global.c | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

---
992045 CVE 2021 38185 rewrite dynamic string support | (download)

src/copyin.c | 40 20 + 20 - 0 !
src/copyout.c | 16 6 + 10 - 0 !
src/copypass.c | 34 16 + 18 - 0 !
src/dstring.c | 88 64 + 24 - 0 !
src/dstring.h | 31 15 + 16 - 0 !
src/util.c | 6 2 + 4 - 0 !
6 files changed, 123 insertions(+), 92 deletions(-)

 rewrite dynamic string support.

* src/dstring.c (ds_init): Take a single argument.
(ds_free): New function.
(ds_resize): Take a single argument.  Use x2nrealloc to expand
the storage.
(ds_reset,ds_append,ds_concat,ds_endswith): New function.
(ds_fgetstr): Rewrite.  In particular, this fixes integer overflow.
* src/dstring.h (dynamic_string): Keep both the allocated length
(ds_size) and index of the next free byte in the string (ds_idx).
(ds_init,ds_resize): Change signature.
(ds_len): New macro.
(ds_free,ds_reset,ds_append,ds_concat,ds_endswith): New protos.
* src/copyin.c: Use new ds_ functions.
* src/copyout.c: Likewise.
* src/copypass.c: Likewise.
* src/util.c: Likewise.

992098 regression of orig fix for CVE 2021 38185 | (download)

src/dstring.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix previous commit

* src/dstring.c (ds_reset,ds_concat): Don't call ds_resize in a
loop.

992192 Fix dynamic string reallocations.patch | (download)

src/dstring.c | 18 8 + 10 - 0 !
1 file changed, 8 insertions(+), 10 deletions(-)

 fix dynamic string reallocations