Hello community, here is the log from the commit of package busybox checked in at Mon May 7 14:30:00 CEST 2007. -------- --- busybox/busybox.changes 2007-04-28 21:33:32.000000000 +0200 +++ /mounts/work_src_done/STABLE/busybox/busybox.changes 2007-05-07 10:29:26.000000000 +0200 @@ -1,0 +2,5 @@ +Mon May 7 10:27:51 CEST 2007 - olh@suse.de + +- gcc42 rejects out of bounds array access + +------------------------------------------------------------------- Old: ---- install.patch New: ---- busybox.install.patch busybox.libunarchive-array.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ busybox.spec ++++++ --- /var/tmp/diff_new_pack.Mk4419/_old 2007-05-07 14:28:36.000000000 +0200 +++ /var/tmp/diff_new_pack.Mk4419/_new 2007-05-07 14:28:36.000000000 +0200 @@ -14,7 +14,7 @@ BuildRequires: dietlibc URL: http://www.busybox.net/ Version: 1.4.2 -Release: 1 +Release: 3 Summary: The Swiss Army Knife of Embedded Linux License: GNU General Public License (GPL) Group: System/Base @@ -22,7 +22,8 @@ Source: http://busybox.net/downloads/%{name}-%{version}.tar.bz2 Source2: SuSE.config Patch0: busybox.taskset-range.patch -Patch1: install.patch +Patch1: busybox.install.patch +Patch2: busybox.libunarchive-array.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -46,6 +47,7 @@ %setup -q -n %{name}-%{version} %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build cp -avL %{S:2} .config @@ -78,6 +80,8 @@ %config /usr/share/busybox/busybox.links %changelog +* Mon May 07 2007 - olh@suse.de +- gcc42 rejects out of bounds array access * Sat Apr 28 2007 - olh@suse.de - update to 1.4.2 reduces binary size after e2fsprogs removal ++++++ busybox.install.patch ++++++ --- applets/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: busybox-1.4.2/applets/install.sh =================================================================== --- busybox-1.4.2.orig/applets/install.sh +++ busybox-1.4.2/applets/install.sh @@ -8,7 +8,7 @@ if [ -z "$prefix" ]; then echo "usage: applets/install.sh DESTINATION [--symlinks/--hardlinks]" exit 1; fi -h=`sort busybox.links | uniq` +h=`sort /usr/share/busybox/busybox.links | uniq` cleanup="0" noclobber="0" case "$2" in ++++++ busybox.libunarchive-array.patch ++++++ archival/libunarchive/get_header_tar.c: In function 'get_header_tar': archival/libunarchive/get_header_tar.c:140: warning: array subscript is above array bounds archival/libunarchive/get_header_tar.c:155: warning: array subscript is above array bounds archival/libunarchive/get_header_tar.c:158: warning: array subscript is above array bounds make[1]: *** [archival/libunarchive/get_header_tar.o] Error 1 --- archival/libunarchive/get_header_tar.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Index: busybox-1.4.2/archival/libunarchive/get_header_tar.c =================================================================== --- busybox-1.4.2.orig/archival/libunarchive/get_header_tar.c +++ busybox-1.4.2/archival/libunarchive/get_header_tar.c @@ -136,8 +136,8 @@ char get_header_tar(archive_handle_t *ar } file_header->link_name = NULL; if (!linkname && parse_names && tar.linkname[0]) { - /* we trash magic[0] here, it's ok */ - tar.linkname[sizeof(tar.linkname)] = '\0'; + /* we trash magic[0] here to terminate tar.linkname, it's ok */ + tar.magic[0] = '\0'; file_header->link_name = xstrdup(tar.linkname); /* FIXME: what if we have non-link object with link_name? */ /* Will link_name be free()ed? */ @@ -151,11 +151,11 @@ char get_header_tar(archive_handle_t *ar file_header->name = NULL; if (!longname && parse_names) { - /* we trash mode[0] here, it's ok */ - tar.name[sizeof(tar.name)] = '\0'; + /* we trash mode[0] here to terminate tar.name, it's ok */ + tar.mode[0] = '\0'; if (tar.prefix[0]) { - /* and padding[0] */ - tar.prefix[sizeof(tar.prefix)] = '\0'; + /* and padding[0] to terminate tar.prefix */ + tar.padding[0] = '\0'; file_header->name = concat_path_file(tar.prefix, tar.name); } else file_header->name = xstrdup(tar.name); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org