Debian Patches

Status for cpio/2.13+dfsg-7.1

Patch Description Author Forwarded Bugs Origin Last update
autoreconf.patch autoreconf Anibal Monsalve Salazar <anibal@debian.org> no 2019-11-20
695717-no-cpio.info-2.patch no-cpio.info-2 Anibal Monsalve Salazar <anibal@debian.org> no 2019-11-20
fix.win32-compat.patch fix.win32-compat Anibal Monsalve Salazar <anibal@debian.org> no 2019-11-20
Wrong-CRC-with-ASCII-CRC-for-large-files.patch Wrong CRC with ASCII CRC for large files
Due to signedness, the checksum is not computed when filesize is bigger
a 2GB.
Stefano Babic <sbabic@denx.de> no 2017-07-28
fix.better.handle.device.nodes.cramfs.565474.patch Better handle device nodes from cramfs. Carl Miller <chaz@energoncube.net> no 2019-11-20
fix.fatal.exits.mt.576637.patch Return MT_EXIT_FAILURE instead of MT_EXIT_INVOP for fatal exits from mt. Anibal Monsalve Salazar <anibal@debian.org> no 2019-11-20
fix.other.bugs.patch fix other bugs Anibal Monsalve Salazar <anibal@debian.org> no 2019-11-20
fix.win32.out-pass.mode.579533.patch Fix corrupted output in -win32 build "Robert Millan rmh@aybabtu and Didier Raboud" <didier@raboud.com> no vendor 2010-04-29
218086-reporting-bugs.patch reporting-bugs Anibal Monsalve Salazar <anibal@debian.org> no 2019-11-20
588020-manpages-see-also.patch manpages-see-also Anibal Monsalve Salazar <anibal@debian.org> no 2019-11-20
695717-no-cpio.info.patch Do not build cpio.info anymore =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org> no debian 2013-06-01
fix.win32.undef.stat.patch 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...
Stephen Kitt <skitt@debian.org> no 2019-11-20
fix.mt-erase.manpage.patch Identify how to perform "fast erase" operations on devices that

support it.
Kees Cook <kees@debian.org> invalid upstream 2019-11-20
revert-CVE-2015-1197-handling.patch Fix a regression in handling of CVE-2015-1197 & --no-absolute-filenames.

See:

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

This reverts (most of): https://git.savannah.gnu.org/cgit/cpio.git/diff/?id=45b0ee2b407913c533f7ded8d6f8cbeec16ff6ca&id2=3177d660a4c62a6acb538b0f7c54ba423698889a
Chris Lamb <lamby@debian.org> no 2020-02-01
963304-remove-superfluous-declaration-of-program_name author Sergey Poznyakoff <gray@gnu.org>

https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=641d3f489cf6238bb916368d4ba0d9325a235afb

* src/global.c: Remove superfluous declaration of program_name

diff --git a/src/global.c b/src/global.c
index fb3abe9..acf92bc 100644
no
992045-CVE-2021-38185-rewrite-dynamic-string-support 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.
Sergey Poznyakoff <gray@gnu.org> no 2021-08-07
992098-regression-of-orig-fix-for-CVE-2021-38185 Fix previous commit
* src/dstring.c (ds_reset,ds_concat): Don't call ds_resize in a
loop.
Sergey Poznyakoff <gray@gnu.org> no 2021-08-11
992192-Fix-dynamic-string-reallocations.patch Fix dynamic string reallocations
* src/dstring.c (ds_resize): Take additional argument: number of
bytes to leave available after ds_idx. All uses changed.
Sergey Poznyakoff <gray@gnu.org> yes debian upstream https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=236684f6deb3178043fe72a8e2faca538fa2aae1 2021-08-18

All known versions for source package 'cpio'

Links