This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug string/16004] memcpy/strcpy: detect memory overlap and crash when error is detected
- From: "ppluzhnikov at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 24 Aug 2016 16:56:04 +0000
- Subject: [Bug string/16004] memcpy/strcpy: detect memory overlap and crash when error is detected
- Auto-submitted: auto-generated
- References: <bug-16004-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16004
--- Comment #8 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
(In reply to Sergei Trofimovich from comment #7)
> This one looks like a scary use-after-free.
You are right. Bad example. Most of the real ones involve swap() with itself.
> Can you share an example if it's not too complex?
I went back to look (google ref: b/3186945), and didn't find any. I must have
mis-remembered.
Related: https://sourceware.org/bugzilla/show_bug.cgi?id=12518
--
You are receiving this mail because:
You are on the CC list for the bug.