|
| From: | Daiki Ueno |
| Subject: | [bug-gettext] [bug #47847] Undefined behavior [use-after-free] possible in libgettext |
| Date: | Mon, 9 May 2016 03:27:56 +0000 (UTC) |
| User-agent: | Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #1, bug #47847 (project gettext):
Thanks for pointing that out.
> A reasonable fix is to convert the pointers to be compared to uintptr while
both pointers are still valid
It sounds like a good idea, but I doubt we can always assume that uintptr_t is
available. So, I have created a patch to fix it by postponing free:
https://lists.gnu.org/archive/html/bug-gnulib/2016-05/msg00016.html
Does it make sense?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47847>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |