[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] [bug #47847] Undefined behavior [use-after-free] possible

From: Daiki Ueno
Subject: [bug-gettext] [bug #47847] Undefined behavior [use-after-free] possible in libgettext
Date: Mon, 9 May 2016 08:51:56 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #3, bug #47847 (project gettext):

Thanks for the comment, Bruno.

The reasoning sounds convincing, but I'm a bit confused that there is no such
path in the original code.  ISO C 6.2.4 also says: "The result of attempting
to indirectly access an object with automatic storage duration from a thread
other than the one with which the object is associated is
implementation-defined", but I neither see a possibility of this.

So far, the more I think of this, the more it seems like a false positive (and
if so, perhaps we could add an annotation instead to suppress the warning).


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]