[Glibc-bsd-commits] r5465 - in trunk/kfreebsd-11/debian: . patches

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


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

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

Modified: trunk/kfreebsd-11/debian/changelog
===================================================================
--- trunk/kfreebsd-11/debian/changelog	2014-04-13 19:29:24 UTC (rev 5464)
+++ trunk/kfreebsd-11/debian/changelog	2014-04-18 13:55:06 UTC (rev 5465)
@@ -1,3 +1,10 @@
+kfreebsd-11 (11.0~svn264364-1) 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-11 (11.0~svn264364-1) experimental; urgency=low
 
   * New upstream snapshot.

Modified: trunk/kfreebsd-11/debian/patches/firmware_load.diff
===================================================================
--- trunk/kfreebsd-11/debian/patches/firmware_load.diff	2014-04-13 19:29:24 UTC (rev 5464)
+++ trunk/kfreebsd-11/debian/patches/firmware_load.diff	2014-04-18 13:55:06 UTC (rev 5465)
@@ -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