]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: Fix a report by an undefined-behaviour sanitizer.
authorBruno Haible <bruno@clisp.org>
Fri, 10 Apr 2020 19:19:36 +0000 (21:19 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 10 Apr 2020 19:19:36 +0000 (21:19 +0200)
commit32cf6b6af38ec5f66067b330e41646262fb974e7
tree2d2016ad17af38a35d6ba0429fb94f3b87e20773
parentf6fd2276ef2dab61f6120055f5b06c8d5aa899b1
xgettext: Fix a report by an undefined-behaviour sanitizer.

Reported by Jeffrey Walton <noloader@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gettext/2020-01/msg00029.html>.

* gettext-tools/src/read-properties.c (read_escaped_string): Don't call memcpy
with a NULL argument.
gettext-tools/src/read-properties.c