[PATCH] sexp: Add length check DATALEN when parsing SEXP.
NIIBE Yutaka
gniibe at fsij.org
Wed Jun 3 07:47:00 CEST 2026
* src/sexp.c (do_vsexp_sscan): Raise an error when the length
cannot be represented by the DATALEN type.
--
Reported-by: Ciwan Öztopal
GnuPG-bug-id: 8267
Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
src/sexp.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 56 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sexp-Add-length-check-DATALEN-when-parsing-SEXP.patch
Type: text/x-patch
Size: 4110 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20260603/a9e79afd/attachment.bin>
More information about the Gcrypt-devel
mailing list