SHA256
1
0
forked from pool/cpio
cpio/cpio-2.9-segfault_in_copyin.patch

12 lines
296 B
Diff

--- src/copyin.c
+++ src/copyin.c
@@ -1277,7 +1277,7 @@
error (0, 0, _("warning: archive header has reverse byte-order"));
warned = 1;
}
- swab_array ((char *) &short_hdr, 13);
+ swab_array ((char *) short_hdr, 13);
}
file_hdr->c_dev_maj = major (short_hdr->c_dev);