public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/25479] AddressSanitizer: heap-buffer-overflow in lookup_minimal_symbol_by_pc_name
[not found] <bug-25479-4717@http.sourceware.org/bugzilla/>
@ 2020-03-26 2:06 ` tromey at sourceware dot org
2023-02-12 2:56 ` sam at gentoo dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2020-03-26 2:06 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=25479
--- Comment #8 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to Christian Biesinger from comment #7)
> (In reply to Tom Tromey from comment #5)
> > I've looked at it a little. I tend to think it is a pre-existing
> > bug. I suspect Address Sanitizer doesn't understand how to examine
> > objects allocated on an obstack (neither does valgrind...), which is
> > why this was never detected.
>
> Offtopic, but Valgrind can be taught this:
> http://valgrind.org/docs/manual/mc-manual.html#mc-manual.mempools
> I've been meaning to look into that.
Yeah, me too. We also use a similar thing, "objalloc", via BFD
(obstack was deemed too heavy, lol, by someone in ancient times).
I imagine marking that up would reveal all the lurking BFD bugs.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/25479] AddressSanitizer: heap-buffer-overflow in lookup_minimal_symbol_by_pc_name
[not found] <bug-25479-4717@http.sourceware.org/bugzilla/>
2020-03-26 2:06 ` [Bug gdb/25479] AddressSanitizer: heap-buffer-overflow in lookup_minimal_symbol_by_pc_name tromey at sourceware dot org
@ 2023-02-12 2:56 ` sam at gentoo dot org
2023-03-05 17:35 ` tromey at sourceware dot org
2023-03-05 17:39 ` tromey at sourceware dot org
3 siblings, 0 replies; 4+ messages in thread
From: sam at gentoo dot org @ 2023-02-12 2:56 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=25479
Sam James <sam at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sam at gentoo dot org
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/25479] AddressSanitizer: heap-buffer-overflow in lookup_minimal_symbol_by_pc_name
[not found] <bug-25479-4717@http.sourceware.org/bugzilla/>
2020-03-26 2:06 ` [Bug gdb/25479] AddressSanitizer: heap-buffer-overflow in lookup_minimal_symbol_by_pc_name tromey at sourceware dot org
2023-02-12 2:56 ` sam at gentoo dot org
@ 2023-03-05 17:35 ` tromey at sourceware dot org
2023-03-05 17:39 ` tromey at sourceware dot org
3 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2023-03-05 17:35 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=25479
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dje at google dot com
--- Comment #9 from Tom Tromey <tromey at sourceware dot org> ---
*** Bug 15883 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/25479] AddressSanitizer: heap-buffer-overflow in lookup_minimal_symbol_by_pc_name
[not found] <bug-25479-4717@http.sourceware.org/bugzilla/>
` (2 preceding siblings ...)
2023-03-05 17:35 ` tromey at sourceware dot org
@ 2023-03-05 17:39 ` tromey at sourceware dot org
3 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2023-03-05 17:39 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=25479
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |13.1
Status|NEW |RESOLVED
--- Comment #10 from Tom Tromey <tromey at sourceware dot org> ---
It turns out this was fixed:
commit 9d428aae67a67087959822b0ffd81f7df96218c7
Author: Simon Marchi <simon.marchi@efficios.com>
Date: Wed May 20 15:44:24 2020 -0400
gdb: reset/recompute objfile section offsets in reread_symbols
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-03-05 17:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-25479-4717@http.sourceware.org/bugzilla/>
2020-03-26 2:06 ` [Bug gdb/25479] AddressSanitizer: heap-buffer-overflow in lookup_minimal_symbol_by_pc_name tromey at sourceware dot org
2023-02-12 2:56 ` sam at gentoo dot org
2023-03-05 17:35 ` tromey at sourceware dot org
2023-03-05 17:39 ` tromey at sourceware dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).