|
From: | Lars Ingebrigtsen |
Subject: | bug#55938: [PATCH] bindat (strz): Error on null byte if packing variable-length string |
Date: | Mon, 13 Jun 2022 14:32:27 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Richard Hansen <rhansen@rhansen.org> writes: > * lisp/emacs-lisp/bindat.el (strz): Signal an error if a null byte is > encountered while packing a string to a variable-length strz field. > * test/lisp/emacs-lisp/bindat-tests.el (strz): Add tests. Thanks; pushed to Emacs 29. (But I changed the `if' to a `when'.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] | Current Thread | [Next in Thread] |