[BusyBox 0001007]: Module kernel version length limited to 32 characters
bugs at busybox.net
bugs at busybox.net
Fri Aug 25 06:48:02 UTC 2006
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=1007
======================================================================
Reported By: jhks
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 1007
Category: Kernel Module Support
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 08-24-2006 13:14 PDT
Last Modified: 08-24-2006 23:48 PDT
======================================================================
Summary: Module kernel version length limited to 32
characters
Description:
When loading a module with a kernel version string greater than 32
characters, the version check will fail. The following patch increases the
limit to 64 characters:
--- busybox-1.1.3/modutils/insmod.c 2006-06-19 17:14:19.000000000 -0400
+++ busybox-1.1.3/modutils/insmod.c 2006-08-24 10:59:06.000000000 -0400
@@ -699,7 +699,7 @@
#define _PATH_MODULES "/lib/modules"
-enum { STRVERSIONLEN = 32 };
+enum { STRVERSIONLEN = 64 };
/*======================================================================*/
======================================================================
----------------------------------------------------------------------
integrator - 08-24-06 23:48
----------------------------------------------------------------------
According to the 2.6.17 sources (include/linux/module.h), this is maxed
at:
64 - sizeof(unsigned long).
So please consider updating the patch.
Issue History
Date Modified Username Field Change
======================================================================
08-24-06 13:14 jhks New Issue
08-24-06 13:14 jhks Status new => assigned
08-24-06 13:14 jhks Assigned To => BusyBox
08-24-06 23:48 integrator Note Added: 0001584
======================================================================
More information about the busybox-cvs
mailing list