Hello community, here is the log from the commit of package oprofile checked in at Mon Aug 21 11:37:55 CEST 2006. -------- --- oprofile/oprofile.changes 2006-05-31 11:18:40.000000000 +0200 +++ oprofile/oprofile.changes 2006-08-18 15:24:10.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Aug 18 15:23:52 CEST 2006 - schwab@suse.de + +- Avoid crash in find_nearest_line [#193622]. + +------------------------------------------------------------------- New: ---- find-nearest-line.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ oprofile.spec ++++++ --- /var/tmp/diff_new_pack.WIgqnt/_old 2006-08-21 11:37:38.000000000 +0200 +++ /var/tmp/diff_new_pack.WIgqnt/_new 2006-08-21 11:37:38.000000000 +0200 @@ -17,7 +17,7 @@ Group: Development/Tools/Other Autoreqprov: on Version: 0.9.1 -Release: 17 +Release: 18 Summary: System-Wide Profiler for Linux Systems BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: %{name}-%{version}.tar.gz @@ -26,6 +26,7 @@ Patch1: ppc64-event-mappings.diff Patch2: power5-events.diff Patch3: power5+-events.diff +Patch4: find-nearest-line.diff Summary: System-Wide Profiler for Linux Systems Group: Development/Tools/Other @@ -65,6 +66,7 @@ %patch1 -p1 %patch2 -p1 %patch3 +%patch4 %build ./configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ @@ -76,8 +78,8 @@ %install mkdir -p $RPM_BUILD_ROOT/usr/bin mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 -mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/oprofile -make DESTDIR=$RPM_BUILD_ROOT DOCDIR=$RPM_BUILD_ROOT%{_defaultdocdir}/oprofile install +mkdir -p $RPM_BUILD_ROOT/%{_docdir}/oprofile +make DESTDIR=$RPM_BUILD_ROOT DOCDIR=$RPM_BUILD_ROOT%{_docdir}/oprofile install rm -f $RPM_BUILD_ROOT/usr/share/doc/oprofile/oprofile.html rm -f $RPM_BUILD_ROOT/usr/share/doc/oprofile/internals.html %suse_update_desktop_file -i %name Development Profiling @@ -94,6 +96,8 @@ %doc doc/oprofile.html COPYING README TODO ChangeLog %changelog -n oprofile +* Fri Aug 18 2006 - schwab@suse.de +- Avoid crash in find_nearest_line [#193622]. * Wed May 31 2006 - schwab@suse.de - Fix invalid string operation. * Thu May 04 2006 - schwab@suse.de ++++++ find-nearest-line.diff ++++++ --- libutil++/bfd_support.cpp +++ libutil++/bfd_support.cpp @@ -531,7 +531,7 @@ ret = bfd_find_nearest_line(abfd, section, syms, pc, &cfilename, &function, &linenr); - if (!ret || !cfilename) + if (!ret || !cfilename || !function) goto fail; if (!is_correct_function(function, sym.name())) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@suse.de