[BusyBox-cvs] CVS update of busybox/modutils (modprobe.c)

Erik Andersen andersen at codepoet.org
Sat Aug 14 20:57:34 UTC 2004


    Date: Saturday, August 14, 2004 @ 14:57:34
  Author: andersen
    Path: /var/cvs/busybox/modutils

Modified: modprobe.c (1.37 -> 1.38)

Christian Ostheimer writes:

Hello,

function build_dep in modprobe.c assumes that dependencies of one module
have not more than 255 chars;
that is not sufficient in kernel 2.6.7 (alsa sound modules). - Below is
a diff that solves the problem for me.

With regards, Christian Ostheimer


Index: busybox/modutils/modprobe.c
diff -u busybox/modutils/modprobe.c:1.37 busybox/modutils/modprobe.c:1.38
--- busybox/modutils/modprobe.c:1.37	Tue Aug 10 23:56:30 2004
+++ busybox/modutils/modprobe.c	Sat Aug 14 14:57:33 2004
@@ -115,7 +115,7 @@
 	struct utsname un;
 	struct dep_t *first = 0;
 	struct dep_t *current = 0;
-	char buffer[256];
+	char buffer[2048];
 	char *filename = buffer;
 	int continuation_line = 0;
 



More information about the busybox-cvs mailing list