[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/busybox/devel busybox-1.1.1-overfl.patch, NONE, 1.1 busybox.spec, 1.36, 1.37



Author: varekova

Update of /cvs/dist/rpms/busybox/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv31022

Modified Files:
	busybox.spec 
Added Files:
	busybox-1.1.1-overfl.patch 
Log Message:
add overfl patch to aviod Buffer warning


busybox-1.1.1-overfl.patch:
 tar.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE busybox-1.1.1-overfl.patch ---
--- busybox-1.1.1/archival/tar.c.overfl	2006-03-22 22:16:20.000000000 +0100
+++ busybox-1.1.1/archival/tar.c	2006-05-03 12:43:41.000000000 +0200
@@ -216,8 +216,8 @@
 	putOctal(header.gid, sizeof(header.gid), statbuf->st_gid);
 	putOctal(header.size, sizeof(header.size), 0);	/* Regular file size is handled later */
 	putOctal(header.mtime, sizeof(header.mtime), statbuf->st_mtime);
-	strncpy(header.magic, TAR_MAGIC TAR_VERSION,
-			TAR_MAGIC_LEN + TAR_VERSION_LEN);
+	strncpy(header.magic, TAR_MAGIC, TAR_MAGIC_LEN);
+	strncpy(header.version, TAR_VERSION, TAR_VERSION_LEN);
 
 	/* Enter the user and group names (default to root if it fails) */
 	if (bb_getpwuid(header.uname, statbuf->st_uid, sizeof(header.uname)) == NULL)


Index: busybox.spec
===================================================================
RCS file: /cvs/dist/rpms/busybox/devel/busybox.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- busybox.spec	3 May 2006 09:50:04 -0000	1.36
+++ busybox.spec	3 May 2006 10:58:15 -0000	1.37
@@ -12,6 +12,7 @@
 Patch3: busybox-1.1.1-cve-2006-1058.patch
 Patch4: busybox-1.1.1-ppc64.patch
 Patch5: busybox-1.1.1-page_size.patch
+Patch6: busybox-1.1.1-overfl.patch
 URL: http://www.busybox.net
 BuildRoot: %{_tmppath}/%{name}-root
 BuildRequires: libselinux-devel >= 1.27.7-2
@@ -44,6 +45,7 @@
 %patch4 -b .ppc64 -p1
 %endif
 %patch5 -b .ia64 -p1
+%patch6 -b .overfl -p1
 
 %build
 make defconfig
@@ -88,6 +90,7 @@
 - add -minimal-toc option
 - add RPM_OPT_FLAGS
 - remove asm/page.h used sysconf command to get PAGE_SIZE
+- add overfl patch to aviod Buffer warning
 
 * Fri Feb 10 2006 Jesse Keating <jkeating redhat com> - 1:1.01-2.2.1
 - bump again for double-long bug on ppc(64)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]