File cpio-2.9-segfault_in_copyin.patch of Package cpio

--- 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);
openSUSE Build Service is sponsored by