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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH 1/3] Use string bound functions (take #2)

To: "Christoph Egger" <Christoph.Egger@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/3] Use string bound functions (take #2)
From: Anil Madhavapeddy <anil@xxxxxxxxxxxxx>
Date: 2007年1月29日 14:37:56 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2007年1月30日 01:36:43 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200701291525.18001.Christoph.Egger@xxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200701291525.18001.Christoph.Egger@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I notice these aren't checking for buffer truncation. Might be worth putting checks for this in places where it matters and not silently truncate the string (e.g. the domain builder).
-anil
On 29 Jan 2007, at 14:25, Christoph Egger wrote:
<xen_stringbound.diff>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH] Clean up and fix errors in strncpy -> strlcpy conversion , Keir Fraser
Next by Date: Re: [Xen-devel] [PATCH] Fix softlockup issue after vcpu hotplug , Keir Fraser
Previous by Thread: [Xen-devel] [PATCH 1/3] Use string bound functions (take #2) , Christoph Egger
Next by Thread: Re: [Xen-devel] [PATCH 1/3] Use string bound functions (take #2) , Christoph Egger
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /