Hi,
Fix tyops which breaks transparent gunzipping ...
please apply,
Gerd
--
Gerd Hoffmann <kraxel@xxxxxxx>
--- 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;
}
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|