]> git.eshelyaron.com Git - emacs.git/commit
bindat (str, strz): Reject non-ASCII, non-`eight-bit' characters
authorRichard Hansen <rhansen@rhansen.org>
Sun, 12 Jun 2022 05:19:43 +0000 (01:19 -0400)
committerEli Zaretskii <eliz@gnu.org>
Sun, 12 Jun 2022 06:59:13 +0000 (09:59 +0300)
commitc1829b307cffce046bec6fcbdff03dbab9f4b562
tree0814466d82fb9bf840ba719a060f2026931fa643
parentc2695621fc52aa5eeebc45b82b9b916e30568589
bindat (str, strz): Reject non-ASCII, non-`eight-bit' characters

* lisp/emacs-lisp/bindat.el (str) (strz): Signal an error if the user
attempts to pack a multibyte string containing characters other than
ASCII and `eight-bit' characters (bug#55897).
* doc/lispref/processes.texi (Bindat Types): Update documentation.
* test/lisp/emacs-lisp/bindat-tests.el (str) (strz): Add tests.
doc/lispref/processes.texi
lisp/emacs-lisp/bindat.el
test/lisp/emacs-lisp/bindat-tests.el