WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH RESENT] xl: Use macros for param parsing in netwo

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH RESENT] xl: Use macros for param parsing in network-attach, to prevent use explicit sizeof("param")
From: Marek Marczykowski <marmarek@xxxxxxxxxxxx>
Date: Mon, 27 Jun 2011 16:37:14 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 27 Jun 2011 07:37:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19976.37678.636966.959895@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <19963.38322.821359.6419@xxxxxxxxxxxxxxxxxxxxxxxx> <f49657a37635b6b5a2ee.1308674942@devel14> <19976.37678.636966.959895@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.10
On 27.06.2011 16:26, Ian Jackson wrote:
> Marek Marczykowski writes ("[Xen-devel] [PATCH RESENT] xl: Use macros for 
> param parsing in network-attach, to prevent use explicit sizeof("param")"):
>> xl: Use macros for param parsing in network-attach, to prevent use explicit 
>> sizeof("param")
>>
>> 'script=' length was wrong... Replaced calls to strncmp("param", *argv,
>> explicit sizeof("param")) with macro and helper function to extract parameter
>> value. Also introduce replace_string function to simplify code.
> 
> I think I'm expecting an updated version of this ?

This is an updated version...

-- 
Pozdrawiam / Best Regards,
Marek Marczykowski         | RLU #390519
marmarek at mimuw edu pl   | xmpp:marmarek at staszic waw pl

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel