]> git.ipfire.org Git - thirdparty/gettext.git/commit
msgunfmt: Check allocated size for static segment
authorDaiki Ueno <ueno@gnu.org>
Wed, 11 Mar 2015 07:18:26 +0000 (16:18 +0900)
committerDaiki Ueno <ueno@gnu.org>
Wed, 11 Mar 2015 07:18:26 +0000 (16:18 +0900)
commit5d3eeaa0d3b7f4f6932bd29d859925a940b69459
tree2861eabe261e7bccf554a676222fb249fb07a9fc
parent30ffe68f83eab2c9c4082e008cc4881dd223cc42
msgunfmt: Check allocated size for static segment

Reported by Max Lin in:
http://lists.gnu.org/archive/html/bug-gettext/2015-03/msg00005.html
* read-mo.c (get_sysdep_string): Check if the embedded segment
size is valid, before adding it to the string length.
gettext-tools/src/ChangeLog
gettext-tools/src/read-mo.c