]> git.ipfire.org Git - thirdparty/gettext.git/commit
msgfilter: Fix read buffer allocation for empty input
authorDaiki Ueno <ueno@gnu.org>
Fri, 28 Nov 2014 04:21:37 +0000 (13:21 +0900)
committerDaiki Ueno <ueno@gnu.org>
Fri, 28 Nov 2014 04:21:37 +0000 (13:21 +0900)
commit06e206f51695626cee83889a9e7244482c9ac982
tree3366ed668175c2f37e9deebb24934448d5e944f3
parent17e21d98891fa7c37dadcd6cd06c438ec1efac9e
msgfilter: Fix read buffer allocation for empty input

* msgfilter.c (prepare_read): Increase allocated buffer size even
if the original size is < 2.
Reported by Robin McCorkell at:
<https://savannah.gnu.org/bugs/?43720>.
gettext-tools/src/ChangeLog
gettext-tools/src/msgfilter.c