[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

grubutil-win32 1.1-18-3



Hi,

Please consider unblocking grubutil-win32 1.1-18-3.  It fixes a grave bug in
win32-loader.

debdiff attached.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."
diff -u grubutil-win32-1.1-18/debian/changelog grubutil-win32-1.1-18/debian/changelog
--- grubutil-win32-1.1-18/debian/changelog
+++ grubutil-win32-1.1-18/debian/changelog
@@ -1,3 +1,11 @@
+grubutil-win32 (1.1-18-3) unstable; urgency=high
+
+  * patches/machine_raw_size.diff: Fix memory corruption problem caused by
+    inconsistency between g2hdr.bin and latest versions of GRUB.
+    (Closes: #503590)
+
+ -- Robert Millan <rmh@aybabtu.com>  Sun, 26 Oct 2008 21:48:42 +0100
+
 grubutil-win32 (1.1-18-2) unstable; urgency=high
 
   * patches/root_drive_is_boot_drive.diff:  New patch.  Set %dh to 0xFF
only in patch2:
unchanged:
--- grubutil-win32-1.1-18.orig/debian/patches/machine_raw_size.diff
+++ grubutil-win32-1.1-18/debian/patches/machine_raw_size.diff
@@ -0,0 +1,19 @@
+
+Bad, bad hardcoding!
+
+This accounts for recent changes in GRUB: LZMA support (rev 1700) and my
+increase of GRUB_KERNEL_MACHINE_DATA_END size (rev 1753).
+
+Post-lenny, we will fix this properly by moving g2hdr.S to the GRUB package.
+
+--- g2hdr.S~	2007-07-20 13:02:00.000000000 +0200
++++ g2hdr.S	2008-10-26 21:36:24.000000000 +0100
+@@ -57,7 +57,7 @@
+ 	movb	%dh, %al
+ 	movl	%eax, 0x14		// GRUB_KERNEL_MACHINE_INSTALL_DOS_PART
+ 	movl	0x10, %eax		// GRUB_KERNEL_MACHINE_COMPRESSED_SIZE
+-	addl	$0x4A0, %eax		// GRUB_KERNEL_MACHINE_RAW_SIZE
++	addl	$0x64c, %eax		// GRUB_KERNEL_MACHINE_RAW_SIZE
+ 	xorl	%ecx, %ecx
+ 
+ 1:

Reply to: