rpms/cpio/FC-5 cpio-2.6-initHeaderStruct.patch, NONE, 1.1 cpio.spec, 1.37, 1.38

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Mar 23 10:15:44 UTC 2006


Author: pvrabec

Update of /cvs/dist/rpms/cpio/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv11637

Modified Files:
	cpio.spec 
Added Files:
	cpio-2.6-initHeaderStruct.patch 
Log Message:
init struct file_hdr (#186339)


cpio-2.6-initHeaderStruct.patch:
 copyin.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE cpio-2.6-initHeaderStruct.patch ---
--- cpio-2.6/src/copyin.c.initHeaderStruct	2006-03-23 10:59:31.000000000 +0100
+++ cpio-2.6/src/copyin.c	2006-03-23 10:59:55.000000000 +0100
@@ -1407,7 +1407,7 @@
   FILE *tty_out = NULL;		/* Interactive file for rename option.  */
   FILE *rename_in = NULL;	/* Batch file for rename option.  */
   struct stat file_stat;	/* Output file stat record.  */
-  struct new_cpio_header file_hdr;	/* Output header information.  */
+  struct new_cpio_header file_hdr = {0};	/* Output header information.  */
   int in_file_des;		/* Input file descriptor.  */
   char skip_file;		/* Flag for use with patterns.  */
   int i;			/* Loop index variable.  */


Index: cpio.spec
===================================================================
RCS file: /cvs/dist/rpms/cpio/FC-5/cpio.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- cpio.spec	22 Mar 2006 10:43:04 -0000	1.37
+++ cpio.spec	23 Mar 2006 10:15:42 -0000	1.38
@@ -6,7 +6,7 @@
 Summary: A GNU archiving program.
 Name: cpio
 Version: 2.6
-Release: 14.FC5
+Release: 15.FC5
 License: GPL
 Group: Applications/Archiving
 URL: http://www.gnu.org/software/cpio/
@@ -21,6 +21,8 @@
 Patch20: cpio-2.6-warnings.patch
 Patch21: cpio-2.6-checksum.patch
 Patch22: cpio-2.6-writeOutHeaderBufferOverflow.patch
+Patch23: cpio-2.6-initHeaderStruct.patch
+
 %ifnos linux
 Prereq: /sbin/rmt
 %endif
@@ -54,6 +56,7 @@
 %patch20 -p1 -b .warnings
 %patch21 -p1 -b .checksum
 %patch22 -p1 -b .bufferOverflow
+%patch23 -p1 -b .initHeaderStruct
 autoheader
 
 %build
@@ -103,6 +106,9 @@
 %{_infodir}/*.info*
 
 %changelog
+* Wed Mar 23 2006 Peter Vrabec <pvrabec at redhat.com> 2.6-15.FC5
+- init struct file_hdr (#186339)
+
 * Wed Mar 22 2006 Peter Vrabec <pvrabec at redhat.com> 2.6-14.FC5
 - FC5 update
 




More information about the fedora-cvs-commits mailing list