All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch] readnotes fix
@ 2007-01-31 14:54 Gerd Hoffmann
  0 siblings, 0 replies; only message in thread
From: Gerd Hoffmann @ 2007-01-31 14:54 UTC (permalink / raw)
  To: Xen devel list

[-- Attachment #1: Type: text/plain, Size: 116 bytes --]

  Hi,

Fix tyops which breaks transparent gunzipping ...

please apply,

  Gerd

-- 
Gerd Hoffmann <kraxel@suse.de>

[-- Attachment #2: readnotes-fix --]
[-- Type: text/plain, Size: 453 bytes --]

--- 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;
 	}

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-31 14:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-31 14:54 [patch] readnotes fix Gerd Hoffmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.