Hello community, here is the log from the commit of package crash for openSUSE:Factory checked in at 2011-12-27 18:13:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crash (Old) and /work/SRC/openSUSE:Factory/.crash.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crash", Maintainer is "ptesa...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/crash/crash.changes 2011-11-16 17:17:40.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.crash.new/crash.changes 2011-12-27 18:13:07.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Dec 27 12:46:46 UTC 2011 - idon...@suse.com + +- Fix wrong size parameter in memset call + +------------------------------------------------------------------- New: ---- crash-wrong-memset.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crash.spec ++++++ --- /var/tmp/diff_new_pack.SPQ8kw/_old 2011-12-27 18:13:13.000000000 +0100 +++ /var/tmp/diff_new_pack.SPQ8kw/_new 2011-12-27 18:13:13.000000000 +0100 @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild %define crash_version 6.0.0 %define whitepaper_version 2003 @@ -36,10 +35,10 @@ %define build_kmp 1 Url: http://people.redhat.com/anderson/ Summary: Crash utility for live systems; netdump, diskdump, LKCD or mcore dumpfiles -Version: %{crash_version} -Release: 1 License: GPL-3.0+ ; GFDL-1.2 Group: Development/Tools/Debuggers +Version: %{crash_version} +Release: 0 Source: %{name}-%{version}.tar.gz Source2: crash_whitepaper-%{whitepaper_version}.tar.bz2 Source3: README.SUSE @@ -58,15 +57,20 @@ Patch7: %{name}-rl_digit_loop-return.patch Patch8: %{name}-missing-declarations.patch Patch9: %{name}-debuginfo-compressed.patch +Patch10: %{name}-wrong-memset.patch Patch90: %{name}-sial-ps-2.6.29.diff -BuildRequires: bison flex ncurses-devel zlib-devel +BuildRequires: bison +BuildRequires: flex +BuildRequires: ncurses-devel +BuildRequires: zlib-devel Requires: /usr/bin/nm ExclusiveArch: %ix86 x86_64 ia64 s390 s390x ppc64 alpha # Source code says it can do ppc32. Excluded here? ExcludeArch: ppc # crash driver KMP %if %build_kmp -BuildRequires: kernel-syms module-init-tools +BuildRequires: kernel-syms +BuildRequires: module-init-tools %if 0%{?suse_version} >= 1130 BuildRequires: kernel-devel %endif @@ -99,9 +103,9 @@ David Anderson <ander...@redhat.com> %package doc -License: GFDL-1.2 Requires: %{name} = %{version} Summary: Documentation for Crash +License: GFDL-1.2 Group: Development/Tools/Debuggers %description doc @@ -114,9 +118,9 @@ David Anderson <ander...@redhat.com> %package devel -License: GPL-2.0+ Requires: %{name} = %{version} Summary: Development files for crash +License: GPL-2.0+ Group: Development/Tools/Debuggers %description devel @@ -136,9 +140,9 @@ %if %build_sial %package sial -License: GPL-2.0+ Requires: %{name} = %{version} Summary: SIAL extension for crash +License: GPL-2.0+ Group: Development/Tools/Debuggers %description sial @@ -159,9 +163,9 @@ %if %build_gcore %package gcore -License: GPL-2.0+ Requires: %{name} = %{version} Summary: Gcore extension for crash +License: GPL-2.0+ Group: Development/Tools/Debuggers %description gcore @@ -179,12 +183,12 @@ %if %build_kmp %package %kmp_pkg -Group: System/Kernel -License: GPL-2.0 Summary: Memory driver for the crash utility +License: GPL-2.0 +Group: System/Kernel %if 0%{?suse_version} < 920 Version: %{version}_%{kver_} - +Release: 0 Requires: kernel = %kver %endif @@ -209,6 +213,7 @@ %patch7 -p1 %patch8 -p1 %patch9 -p1 +%patch10 -p1 ## SIAL patches cd sial-scripts-%{scripts_version} %patch90 -p1 ++++++ crash-wrong-memset.patch ++++++ Index: crash-6.0.0/gdb-7.3.1.patch =================================================================== --- crash-6.0.0.orig/gdb-7.3.1.patch +++ crash-6.0.0/gdb-7.3.1.patch @@ -1263,3 +1263,14 @@ struct tdefs { char *symbol; +--- gdb-7.3.1/bfd/bfdio.c ++++ gdb-7.3.1/bfd/bfdio.c +@@ -577,7 +577,7 @@ memory_bstat (bfd *abfd, struct stat *st + { + struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; + +- memset (statbuf, 0, sizeof (statbuf)); ++ memset (statbuf, 0, sizeof (struct stat)); + statbuf->st_size = bim->size; + + return 0; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org