Updating link to change in openSUSE:Factory/elfutils revision 20.0

OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=e9864cafa60db5f9c7e2419237d24529
This commit is contained in:
OBS User buildservice-autocommit 2010-09-17 18:47:03 +00:00 committed by Git OBS Bridge
parent 030b64d47a
commit 86ad4ecc37
3 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,17 @@
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++;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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

View File

@ -21,7 +21,7 @@
Name: elfutils
License: GPLv2 ; GPLv2+ ; LGPLv2.1+
Version: 0.148
Release: 1
Release: 2
Summary: Higher-level library to access ELF
Group: System/Libraries
Url: http://elfutils.fedorahosted.org
@ -33,6 +33,7 @@ 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
@ -140,6 +141,7 @@ to develop applications that require these.
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%build
autoreconf -fi