diff --git a/elfutils-0.148-dont-crash.diff b/elfutils-0.148-dont-crash.diff deleted file mode 100644 index 5952ea9..0000000 --- a/elfutils-0.148-dont-crash.diff +++ /dev/null @@ -1,17 +0,0 @@ -From: Stephan Kulow - -Avoid crash if the header is 0 - -Index: elfutils-0.148/libdw/dwarf_getcfi_elf.c -=================================================================== ---- elfutils-0.148.orig/libdw/dwarf_getcfi_elf.c 2010-01-12 17:57:54.000000000 +0100 -+++ elfutils-0.148/libdw/dwarf_getcfi_elf.c 2010-09-13 12:51:04.299807382 +0200 -@@ -97,7 +97,7 @@ parse_eh_frame_hdr (const uint8_t *hdr, - { - const uint8_t *h = hdr; - -- if (*h++ != 1) /* version */ -+ if (!h || *h++ != 1) /* version */ - return (void *) -1l; - - uint8_t eh_frame_ptr_encoding = *h++; diff --git a/elfutils.changes b/elfutils.changes index b5e788f..e85f671 100644 --- a/elfutils.changes +++ b/elfutils.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Mon Sep 13 11:32:58 UTC 2010 - coolo@novell.com - -- add small patch to avoid crash in systemtap while building preload - ------------------------------------------------------------------- Thu Aug 26 03:32:26 CEST 2010 - tonyj@suse.de diff --git a/elfutils.spec b/elfutils.spec index 90f7366..ee3df43 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -33,7 +33,6 @@ Patch3: elfutils-no-po-test-build.diff Patch4: libebl-prototype-fix.diff Patch5: elfutils-uninitialized.diff Patch6: elfutils-0.137-dwarf-header-check-fix.diff -Patch7: elfutils-0.148-dont-crash.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: bison flex @@ -141,7 +140,6 @@ to develop applications that require these. %patch4 -p1 %patch5 -p1 %patch6 -p1 -%patch7 -p1 %build autoreconf -fi