Fix a local change to readelf which resulted in a success exit code for non-existant files.
Resolves: #1990817
This commit is contained in:
parent
ffc81ff11e
commit
f4ad5792af
@ -121,3 +121,14 @@
|
|||||||
|
|
||||||
free (ba_cache.strtab);
|
free (ba_cache.strtab);
|
||||||
ba_cache.strtab = NULL;
|
ba_cache.strtab = NULL;
|
||||||
|
--- binutils.orig/binutils/readelf.c 2021-08-10 10:15:22.088016072 +0100
|
||||||
|
+++ binutils-2.37/binutils/readelf.c 2021-08-10 10:15:55.567907891 +0100
|
||||||
|
@@ -21884,7 +21884,7 @@ process_file (char * file_name)
|
||||||
|
Filedata * filedata = NULL;
|
||||||
|
struct stat statbuf;
|
||||||
|
char armag[SARMAG];
|
||||||
|
- bool ret = true;
|
||||||
|
+ bool ret = false;
|
||||||
|
char * name;
|
||||||
|
char * saved_program_name;
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
Summary: A GNU collection of binary utilities
|
Summary: A GNU collection of binary utilities
|
||||||
Name: binutils%{?name_cross}%{?_with_debug:-debug}
|
Name: binutils%{?name_cross}%{?_with_debug:-debug}
|
||||||
Version: 2.37
|
Version: 2.37
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: https://sourceware.org/binutils
|
URL: https://sourceware.org/binutils
|
||||||
|
|
||||||
@ -880,6 +880,9 @@ exit 0
|
|||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 10 2021 Nick Clifton <nickc@redhat.com> - 2.37-5
|
||||||
|
- Fix a local change to readelf which resulted in a success exit code for non-existant files. (#1990817)
|
||||||
|
|
||||||
* Mon Aug 09 2021 Nick Clifton <nickc@redhat.com> - 2.37-4
|
* Mon Aug 09 2021 Nick Clifton <nickc@redhat.com> - 2.37-4
|
||||||
- Ensure that dir[0] contains pwd in gas generated DWARF-5 directory tables. (#1966987)
|
- Ensure that dir[0] contains pwd in gas generated DWARF-5 directory tables. (#1966987)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user