This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/18924] New: More helpful warning message for ELF symbol size discrepancies
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 04 Sep 2015 19:17:55 +0000
- Subject: [Bug dynamic-link/18924] New: More helpful warning message for ELF symbol size discrepancies
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18924
Bug ID: 18924
Summary: More helpful warning message for ELF symbol size
discrepancies
Product: glibc
Version: 2.23
Status: NEW
Severity: normal
Priority: P2
Component: dynamic-link
Assignee: unassigned at sourceware dot org
Reporter: fweimer at redhat dot com
Target Milestone: ---
We currently use this warning (at least on x86_64):
%s: Symbol `%s' has different size in shared object, consider re-linking\n";
This evidently does not do its job because people (including, until today, me)
think it's harmless:
https://bugzilla.mozilla.org/show_bug.cgi?id=496993#c1
https://lists.fedoraproject.org/pipermail/devel/2015-September/214128.html
In reality, the symbol value is truncated to the short of both options. This
can lead to overruns as a result of an incorrect sizeof value or a missing
sentinel at the end of an array.
A reworded warning message should make this clearer. It's probably too late
now to refuse to start such broken programs.
--
You are receiving this mail because:
You are on the CC list for the bug.