]> Savannah Git Hosting - gnulib.git/commit
Fix undefined behaviour in gettext.h.
authorBruno Haible <bruno@clisp.org>
Mon, 9 May 2016 07:29:35 +0000 (09:29 +0200)
committerDaiki Ueno <ueno@gnu.org>
Thu, 12 May 2016 07:33:09 +0000 (16:33 +0900)
commitd8cd505c692ec0eb647135fef23f7f2b037f7571
tree99cfabc16f09a8ff343b8d67eed7ffb8f4bc5421
parente9e6625764b0ba87430ac5986323107c1a30d242
Fix undefined behaviour in gettext.h.

* lib/gettext.h (dcpgettext_expr, dcnpgettext_expr): Avoid accessing a
pointer's value after the storage it points to has been freed.
Reported by Michael Pyne in https://savannah.gnu.org/bugs/?47847.
Spotted by Coverity.
ChangeLog
lib/gettext.h