Mailinglist Archive: opensuse-commit (1059 mails)

< Previous Next >
commit kexec-tools
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Wed, 30 Jan 2008 18:30:28 +0100
  • Message-id: <20080130173028.D06BB678336@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package kexec-tools
checked in at Wed Jan 30 18:30:28 CET 2008.

--------
--- kexec-tools/kexec-tools.changes 2008-01-22 10:14:44.000000000 +0100
+++ kexec-tools/kexec-tools.changes 2008-01-30 15:17:52.000000000 +0100
@@ -1,0 +2,5 @@
+Wed Jan 30 15:17:18 CET 2008 - sassmann@xxxxxxx
+
+- fix fread buffer overflow on ppc
+
+-------------------------------------------------------------------

New:
----
kexec-tools.fread-buffer-overflow.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kexec-tools.spec ++++++
--- /var/tmp/diff_new_pack.i29836/_old 2008-01-30 18:30:06.000000000 +0100
+++ /var/tmp/diff_new_pack.i29836/_new 2008-01-30 18:30:06.000000000 +0100
@@ -22,7 +22,7 @@
AutoReqProv: on
Summary: Tools for fast kernel loading
Version: 1.101
-Release: 161
+Release: 164
Source: %{name}-%{package_version}.tar.bz2
Source1: README.SUSE
Url: http://www.vergenet.net/linux/kexec/kexec-tools/
@@ -33,6 +33,7 @@
Patch20: kexec-tools.ppc64-32bit-build.patch
Patch21: kexec-tools.ppc32-64bit-purgatory.patch
Patch22: kexec-tools.gcc-bug.patch
+Patch30: kexec-tools.fread-buffer-overflow.patch

%description
Kexec is a user space utility for loading another kernel and asking the
@@ -59,6 +60,7 @@
%patch20 -p1
%patch21 -p1
%patch22 -p1
+%patch30 -p1

%build
%{?suse_update_config -f}
@@ -94,6 +96,8 @@
%endif

%changelog
+* Wed Jan 30 2008 sassmann@xxxxxxx
+- fix fread buffer overflow on ppc
* Tue Jan 22 2008 ro@xxxxxxx
- update ppc buildreq
* Fri Nov 30 2007 bwalle@xxxxxxx
@@ -279,7 +283,7 @@
(164993 - LTC23056)
* Wed Apr 26 2006 olh@xxxxxxx
- set /proc/sys/kernel/panic_on_oops to actually trigger a dump
-* Wed Mar 08 2006 olh@xxxxxxx
+* Thu Mar 09 2006 olh@xxxxxxx
- add --args-linux only on intel
copy vmcore with --sparse, maybe it saves a few bytes.
* Wed Feb 22 2006 tiwai@xxxxxxx

++++++ kexec-tools.fread-buffer-overflow.patch ++++++

Index: kexec-tools-testing-20071030/kexec/arch/ppc64/kexec-ppc64.c
===================================================================
--- kexec-tools-testing-20071030.orig/kexec/arch/ppc64/kexec-ppc64.c
+++ kexec-tools-testing-20071030/kexec/arch/ppc64/kexec-ppc64.c
@@ -160,7 +160,7 @@ static int get_base_ranges(void)
int local_memory_ranges = 0;
char device_tree[256] = "/proc/device-tree/";
char fname[256];
- char buf[MAXBYTES-1];
+ char buf[MAXBYTES];
DIR *dir, *dmem;
FILE *file;
struct dirent *dentry, *mentry;
@@ -258,7 +258,7 @@ static int get_devtree_details(unsigned
unsigned long long htab_base, htab_size;
unsigned long long kernel_end;
unsigned long long initrd_start, initrd_end;
- char buf[MAXBYTES-1];
+ char buf[MAXBYTES];
char device_tree[256] = "/proc/device-tree/";
char fname[256];
DIR *dir, *cdir;
Index: kexec-tools-testing-20071030/kexec/arch/ppc64/crashdump-ppc64.c
===================================================================
--- kexec-tools-testing-20071030.orig/kexec/arch/ppc64/crashdump-ppc64.c
+++ kexec-tools-testing-20071030/kexec/arch/ppc64/crashdump-ppc64.c
@@ -101,7 +101,7 @@ static int get_crash_memory_ranges(struc
int memory_ranges = 0;
char device_tree[256] = "/proc/device-tree/";
char fname[256];
- char buf[MAXBYTES-1];
+ char buf[MAXBYTES];
DIR *dir, *dmem;
FILE *file;
struct dirent *dentry, *mentry;


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread