From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: [patch] readnotes fix Date: Wed, 31 Jan 2007 15:54:21 +0100 Message-ID: <45C0AD9D.8090002@suse.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050702020609020502060405" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen devel list List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------050702020609020502060405 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, Fix tyops which breaks transparent gunzipping ... please apply, Gerd -- Gerd Hoffmann --------------050702020609020502060405 Content-Type: text/plain; name="readnotes-fix" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="readnotes-fix" --- build-pae-unstable-13658/tools/xcutils/readnotes.c~ 2007-01-31 11:28:54.000000000 +0100 +++ build-pae-unstable-13658/tools/xcutils/readnotes.c 2007-01-31 12:06:07.000000000 +0100 @@ -72,8 +72,8 @@ usize = xc_dom_check_gzip(image, st.st_size); if (usize) { - tmp = malloc(size); - xc_dom_do_gunzip(image, st.st_size, tmp, size); + tmp = malloc(usize); + xc_dom_do_gunzip(image, st.st_size, tmp, usize); image = tmp; size = usize; } --------------050702020609020502060405 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------050702020609020502060405--