From: Ian Jackson Subject: Re: [PATCH V3 03/10] libxl_json: Replace JSON_TRUE/FALSE by JSON_BOOL. Date: Fri, 5 Oct 2012 17:27:08 +0100 Message-ID: <20591.2652.642081.644934@mariner.uk.xensource.com> References: <1348683325-12367-1-git-send-email-anthony.perard@citrix.com> <1348683325-12367-4-git-send-email-anthony.perard@citrix.com> <1349442649.20946.89.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1349442649.20946.89.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Anthony Perard , Xen Devel List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH V3 03/10] libxl_json: Replace JSON_TRUE/FALSE by JSON_BOOL."): > Just wondering if maybe there ought to be an assert in each of those? It shouldn't be an assertion. In general these objects are unmarshalled from serialisations provided outside the process, so they may contain "wrong" things. Ian.