On 06/24/2012 08:31 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
On 24.06.2012 13:19, Grégoire Sutre wrote:
-return label.d_secperunit<< log_sector_size;
+return (grub_uint64_t)label.d_secperunit<< log_sector_size;
Please add a space after ). Otherwise go ahead.
Done.
Grégoir
On 24.06.2012 13:19, Grégoire Sutre wrote:
> -return label.d_secperunit << log_sector_size;
> +return (grub_uint64_t)label.d_secperunit << log_sector_size;
Please add a space after ). Otherwise go ahead.
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: Open
Hi,
The attached patch fixes grub-probe for NetBSD (the issue was
introduced in commit 4068).
Grégoire
=== modified file 'ChangeLog'
--- ChangeLog 2012-06-23 20:56:19 +
+++ ChangeLog 2012-06-24 11:10:41 +
@@ -1,3 +1,10 @@
+2012-06-24 Grégoire Sutre
+
+ Fix overflow.
+
+ * grub-core/k