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] fix checking strtab length in xc_core.c

To: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [Patch] fix checking strtab length in xc_core.c
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 10 Sep 2007 13:20:43 +0100
Delivery-date: Mon, 10 Sep 2007 05:21:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <17C7F3A466F613takebe_akio@xxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfzpQHgQCp77l+YEdy8TgAX8io7RQ==
Thread-topic: [Xen-devel] [Patch] fix checking strtab length in xc_core.c
User-agent: Microsoft-Entourage/11.3.6.070618


On 10/9/07 13:16, "Akio Takebe" <takebe_akio@xxxxxxxxxxxxxx> wrote:

> I don't understard the meaning of the following check in xc_core.c.
> Is this correct patch?
> 
> Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>

It's to avoid overflowing a fixed-size integer.

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>