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

[Xen-devel] [PATCH] sxpr dereferences freed memory

To: <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] sxpr dereferences freed memory
From: "Charles Coffing" <ccoffing@xxxxxxxxxx>
Date: Mon, 22 Nov 2004 13:26:37 -0700
Delivery-date: Mon, 22 Nov 2004 20:28:21 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
The attached patch applies to 2.0-testing.

If the xfrd daemon receives a message that is immediately followed by an
EOF, without first seeing whitespace (usually a newline), the sxpr
parser will dereference freed memory.  The attached patch fixes the
dangling pointer.


Thanks,
Charles

Attachment: sxpr_dangling.patch
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] sxpr dereferences freed memory, Charles Coffing <=