forked from pool/busybox
97ddd30897
- Add e63d7cdf.patch: awk: fix use after free (CVE-2022-30065, boo#1199744). OBS-URL: https://build.opensuse.org/request/show/1037611 OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=114
15 lines
597 B
Diff
15 lines
597 B
Diff
Index: busybox-1.35.0/archival/cpio.c
|
|
===================================================================
|
|
--- busybox-1.35.0.orig/archival/cpio.c
|
|
+++ busybox-1.35.0/archival/cpio.c
|
|
@@ -413,6 +413,9 @@ int cpio_main(int argc UNUSED_PARAM, cha
|
|
const char *long_opts =
|
|
"extract\0" No_argument "i"
|
|
"list\0" No_argument "t"
|
|
+ "unconditional\0" No_argument "u"
|
|
+ "preserve-modification-time\0" No_argument "m"
|
|
+ "make-directories\0" No_argument "d"
|
|
#if ENABLE_FEATURE_CPIO_O
|
|
"create\0" No_argument "o"
|
|
"format\0" Required_argument "H"
|