]> git.eshelyaron.com Git - emacs.git/commit
* admin/unidata/emoji-zwj.awk: Avoid sprint buffer overflow
authorMattias EngdegÄrd <mattiase@acm.org>
Sat, 3 Jun 2023 10:50:21 +0000 (12:50 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 3 Jun 2023 11:17:30 +0000 (14:17 +0300)
commita3459a28e4191b90688fdd0b58d1972af303bc2a
treeaa928b93285814e6d7fdfa29b206284180dc681d
parentede3535051a8f3b209b830adcaba9cb1ddf58685
* admin/unidata/emoji-zwj.awk: Avoid sprint buffer overflow

Some AWK implementations have a fixed buffer for sprintf; for mawk the
default size is 8192 bytes.  Hoist a string concatenation from
a sprintf call to avoid running into that limit.  See discussion at
https://lists.gnu.org/archive/html/emacs-devel/2023-06/msg00090.html .

(cherry picked from commit b5f17fe07c6624380ba8d0c7a400a6b89f225209)
admin/unidata/emoji-zwj.awk