From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRush-0005qH-VG for qemu-devel@nongnu.org; Tue, 27 Jan 2009 15:49:59 -0500 Received: from [199.232.76.173] (port=41654 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRush-0005q8-MR for qemu-devel@nongnu.org; Tue, 27 Jan 2009 15:49:59 -0500 Received: from imp02.mtu.ru ([62.5.255.19]:57670) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LRusg-0000PT-Ju for qemu-devel@nongnu.org; Tue, 27 Jan 2009 15:49:59 -0500 Received: from ss27-so01.mtu.ru (localhost [127.0.0.1]) by ss27-so01.mtu.ru (Postfix) with ESMTP id 74ACC32367C for ; Tue, 27 Jan 2009 23:49:55 +0300 (MSK) Received: from imp01.mtu.ru (alt-proxy-1.mtu.ru [62.5.255.74]) by ss27-so01.mtu.ru (Postfix) with ESMTP id 6CC7F32366F for ; Tue, 27 Jan 2009 23:49:55 +0300 (MSK) From: Pavel Vasilyev Subject: Re: [Qemu-devel] Re: [PATCH] Replace strcmp() by strncmp() Date: Tue, 27 Jan 2009 23:49:41 +0300 References: <200901270313.26331.pavel@pavlinux.ru> <200901270334.14108.pavel@pavlinux.ru> <497ED3D7.7000703@siemens.com> In-Reply-To: <497ED3D7.7000703@siemens.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3247735.Oy9DWBvWZX"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200901272349.54793.pavel@pavlinux.ru> Reply-To: pavel@pavlinux.ru, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --nextPart3247735.Oy9DWBvWZX Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tuesday 27 January 2009 12:28:55 Jan Kiszka wrote: > Pavel Vasilyev wrote: > > Possible SIGSEGV > > I would suggest studying some strncmp implementation and also thinking > about the case that 'device' is, say, "nics"... > > Jan > strncasecmp(); ??? --nextPart3247735.Oy9DWBvWZX Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQBJf3NyMFsE+gWr1VkRArnCAKCZ82aTrzcDYUayVAOipWSCxAVGDgCgqNN0 op/k6Tk4RGDwr11InlIErZU= =vwt8 -----END PGP SIGNATURE----- --nextPart3247735.Oy9DWBvWZX--