Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1470822 Details for
Bug 1608373
file-5.34 is available
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
[PATCH] magic: fix printing of details about ELF binaries
0001-magic-fix-printing-of-details-about-ELF-binaries.patch (text/plain), 1.51 KB, created by
Kamil Dudka
on 2018-07-26 16:07:09 UTC
(
hide
)
Description:
[PATCH] magic: fix printing of details about ELF binaries
Filename:
MIME Type:
Creator:
Kamil Dudka
Created:
2018-07-26 16:07:09 UTC
Size:
1.51 KB
patch
obsolete
>From 9ec8a9d418059f6a2db0a8b5dd9c3242b4ab8b0a Mon Sep 17 00:00:00 2001 >From: Kamil Dudka <kdudka@redhat.com> >Date: Thu, 26 Jul 2018 17:39:05 +0200 >Subject: [PATCH] magic: fix printing of details about ELF binaries > >This patch fixes a regression introduced by the following commit: >https://github.com/file/file/commit/e2adab14 > >Without this patch: >/usr/bin/curl: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV) >/usr/bin/true: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=57291d41021b27733e8eb00ee1e561a98c11e2d2, stripped > >With this patch: >/usr/bin/curl: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=fd7ce380cd8dff1f52c1a4c1f3d8635cb20dda23, stripped, too many notes (256) >/usr/bin/true: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=57291d41021b27733e8eb00ee1e561a98c11e2d2, stripped >--- > src/funcs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/src/funcs.c b/src/funcs.c >index 0bf92fe1..4ddf5afe 100644 >--- a/src/funcs.c >+++ b/src/funcs.c >@@ -268,7 +268,7 @@ file_buffer(struct magic_set *ms, int fd, const char *inname __attribute__ ((__u > > rv = file_tryelf(ms, &b); > rbuf = file_pop_buffer(ms, pb); >- if (rv != 1) { >+ if (rv == -1) { > free(rbuf); > rbuf = NULL; > } >-- >2.14.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1608373
: 1470822