all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Richard Hansen <rhansen@rhansen.org>
Cc: 55938@debbugs.gnu.org, monnier@iro.umontreal.ca
Subject: bug#55938: [PATCH] bindat (strz): Error on null byte if packing variable-length string
Date: Mon, 13 Jun 2022 14:32:27 +0200	[thread overview]
Message-ID: <87sfo8n3qc.fsf@gnus.org> (raw)
In-Reply-To: <f397e400-fbcf-4f86-ea80-61f3c2792cd1@rhansen.org> (Richard Hansen's message of "Mon, 13 Jun 2022 01:48:11 -0400")

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





  reply	other threads:[~2022-06-13 12:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-13  5:48 bug#55938: [PATCH] bindat (strz): Error on null byte if packing variable-length string Richard Hansen
2022-06-13 12:32 ` Lars Ingebrigtsen [this message]
2022-06-13 13:12 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sfo8n3qc.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=55938@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rhansen@rhansen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.