GNU bug report logs - #48274
27.2; libjanson: \u0000 is not allowed without JSON_ALLOW_NUL

Previous Next

Package: emacs;

Reported by: "Peter" <craven <at> gmx.net>

Date: Fri, 7 May 2021 07:18:01 UTC

Severity: normal

Found in version 27.2

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Philipp <p.stephani2 <at> gmail.com>
Cc: 48274 <at> debbugs.gnu.org, Peter <craven <at> gmx.net>
Subject: bug#48274: 27.2; libjanson: \u0000 is not allowed without JSON_ALLOW_NUL
Date: Tue, 11 May 2021 15:31:51 +0200
Philipp <p.stephani2 <at> gmail.com> writes:

> We use the default behavior of Jansson here, see the remark about
> JSON_ALLOW_NUL in
> https://jansson.readthedocs.io/en/2.13/apiref.html#decoding.
> I wouldn't mind allowing escaped NUL characters though; Emacs should
> be able to handle them just fine.

I think it would make sense to allow nul characters here, too.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 2 years and 320 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.