]> 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)
committerMattias Engdegård <mattiase@acm.org>
Sat, 3 Jun 2023 10:50:21 +0000 (12:50 +0200)
commitb5f17fe07c6624380ba8d0c7a400a6b89f225209
tree9551bff2f27429ab50625720e5052555bdf0617e
parent970f94a2dd8bc4be4d71f1075421093ca6f87d28
* 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 .
admin/unidata/emoji-zwj.awk