[Glibc-bsd-commits] r5466 - in trunk/kfreebsd-10/debian: . patches

christoph at alioth.debian.org christoph at alioth.debian.org
Fri Apr 18 13:55:20 UTC 2014


Author: christoph
Date: 2014-04-18 13:55:20 +0000 (Fri, 18 Apr 2014)
New Revision: 5466

Modified:
   trunk/kfreebsd-10/debian/changelog
   trunk/kfreebsd-10/debian/patches/firmware_load.diff
Log:
Increase firmware size limit

Modified: trunk/kfreebsd-10/debian/changelog
===================================================================
--- trunk/kfreebsd-10/debian/changelog	2014-04-18 13:55:06 UTC (rev 5465)
+++ trunk/kfreebsd-10/debian/changelog	2014-04-18 13:55:20 UTC (rev 5466)
@@ -1,3 +1,10 @@
+kfreebsd-10 (10.0-5) UNRELEASED; urgency=medium
+
+  * Increase firmware size limit to 1MiB. This should be enough for at
+    least iwlwifi firmware to safely load
+
+ -- Christoph Egger <christoph at debian.org>  Fri, 18 Apr 2014 15:51:39 +0200
+
 kfreebsd-10 (10.0-4) unstable; urgency=low
 
   [ Steven Chamberlain ]

Modified: trunk/kfreebsd-10/debian/patches/firmware_load.diff
===================================================================
--- trunk/kfreebsd-10/debian/patches/firmware_load.diff	2014-04-18 13:55:06 UTC (rev 5465)
+++ trunk/kfreebsd-10/debian/patches/firmware_load.diff	2014-04-18 13:55:20 UTC (rev 5466)
@@ -106,7 +106,7 @@
 +	/*
 +	 * XXX: we need to limit this number to some reasonable value
 +	 */
-+	if (vattr.va_size > 100 * 1024) {
++	if (vattr.va_size > 1024 * 1024) {
 +		printf("firmware image file too large %ld\n", (long)vattr.va_size);
 +		goto bad;
 +	}




More information about the Glibc-bsd-commits mailing list