qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL 00/58] QObject patches for 2018-08-24


From: Peter Maydell
Subject: Re: [Qemu-devel] [PULL 00/58] QObject patches for 2018-08-24
Date: Sat, 25 Aug 2018 10:58:41 +0100

On 24 August 2018 at 20:31, Markus Armbruster <address@hidden> wrote:
> The following changes since commit 1dfb85a8755096beecf182a617493d539259cbea:
>
>   Merge remote-tracking branch 'remotes/juanquintela/tags/check/20180822' 
> into staging (2018-08-24 14:46:31 +0100)
>
> are available in the Git repository at:
>
>   git://repo.or.cz/qemu/armbru.git tags/pull-qobject-2018-08-24
>
> for you to fetch changes up to 37aded92c27d0e56cd27f1c29494fc9f8c873cdd:
>
>   json: Update references to RFC 7159 to RFC 8259 (2018-08-24 20:27:14 +0200)
>
> ----------------------------------------------------------------
> QObject patches for 2018-08-24
>
> JSON is such a simple language, so writing a parser should be easy,
> shouldn't it?  Well, the evidence is in, and it's a lot of patches.
> Summary of fixes:
>
> * Reject ASCII control characters in strings as RFC 7159 specifies
>
> * Reject all invalid UTF-8 sequences, not just some
>
> * Reject invalid \uXXXX escapes
>
> * Implement \uXXXX surrogate pairs as specified by RFC 7159
>
> * Don't ignore \u0000 silently, map it to \xC0\80 (modified UTF-8)
>
> * qobject_from_json() is ridicilously broken for input containing more
>   than one value, fix
>
> * Don't ignore trailing unterminated structures
>
> * Less cavalierly cruel error reporting
>
> Topped off with tests and cleanups.

Applied, thanks.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]