forked from pool/elfutils
Accepting request 48133 from Base:System
checked in (request 48133) OBS-URL: https://build.opensuse.org/request/show/48133 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=19
This commit is contained in:
parent
2fbc53df99
commit
030b64d47a
@ -1,17 +0,0 @@
|
||||
From: Stephan Kulow <coolo@novell.com>
|
||||
|
||||
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++;
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user