From 5fab85ef2759ae9f91974b034b58f94da30fb016 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Thu, 7 Jan 2021 16:28:47 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/binutils.git#e056abea7e1c5758acb829fcbfecc8cb84688e43 --- binutils-2.29-filename-in-error-messages.patch | 12 ++++++++++++ binutils.spec | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/binutils-2.29-filename-in-error-messages.patch b/binutils-2.29-filename-in-error-messages.patch index 60750a1..f75d995 100644 --- a/binutils-2.29-filename-in-error-messages.patch +++ b/binutils-2.29-filename-in-error-messages.patch @@ -121,3 +121,15 @@ free (ba_cache.strtab); ba_cache.strtab = NULL; +--- binutils.orig/binutils/readelf.c 2021-01-07 12:59:35.802994842 +0000 ++++ binutils-2.35.1/binutils/readelf.c 2021-01-07 13:02:36.591754005 +0000 +@@ -20818,7 +20818,8 @@ process_file (char * file_name) + done: + if (filedata) + { +- fclose (filedata->handle); ++ if (filedata->handle != NULL) ++ fclose (filedata->handle); + free (filedata->section_headers); + free (filedata->program_headers); + free (filedata->string_table); diff --git a/binutils.spec b/binutils.spec index 7567e80..779242d 100644 --- a/binutils.spec +++ b/binutils.spec @@ -39,7 +39,7 @@ Summary: A GNU collection of binary utilities Name: binutils%{?name_cross}%{?_with_debug:-debug} Version: 2.35.1 -Release: 18%{?dist} +Release: 19%{?dist} License: GPLv3+ URL: https://sourceware.org/binutils