|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH 1/8] qapi: fix NULL pointer dereference |
Date: | Fri, 16 Dec 2011 08:46:38 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13 |
On 12/16/2011 08:22 AM, Paolo Bonzini wrote:
On 12/16/2011 03:10 PM, Anthony Liguori wrote:If a property function does not set the Error pointer, it must visit something.Hmm, then we have to introduce NULL into QJson and visitors.
Visitors assume that strings aren't nullable (which is actually true in JSON and in QString).
I also think that string properties shouldn't be nullable. Regards, Anthony Liguori
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |