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


Message #14 received at 48274 <at> debbugs.gnu.org (full text, mbox):

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: Re: bug#48274: 27.2; libjanson: \u0000 is not allowed without
 JSON_ALLOW_NUL
Date: Sat, 02 Jul 2022 15:06:38 +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.
> Also see the FIXME in the unit test `json-parse-string/null' in
> tests/src/json-tests.el.

So I've now made this change in Emacs 29.

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




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

Previous Next


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