[BusyBox 0000679]: modprobe incrorrectly reads module parametrs from modules.conf
bugs at busybox.net
bugs at busybox.net
Thu Feb 2 07:22:08 UTC 2006
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=679
======================================================================
Reported By: vicser
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 679
Category: Kernel Module Support
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
======================================================================
Date Submitted: 02-01-2006 23:22 PST
Last Modified: 02-01-2006 23:22 PST
======================================================================
Summary: modprobe incrorrectly reads module parametrs from
modules.conf
Description:
ENABLE_FEATURE_MODPROBE_MULTIPLE_OPTIONS is set
modprobe.c - parse_command_string()
line 238
*dst = xrealloc( *dst, strlen( *dst ) );
should be replaced with the line
*dst = xrealloc( *dst, strlen( *dst ) + 1);
Because when reallocating buffer for the new parameter
the trailing zero (that is set in line 237) is'nt taken into account
This leads to a broken parameter string, that is returned thorugh
the dst parameter.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
02-01-06 23:22 vicser New Issue
02-01-06 23:22 vicser Status new => assigned
02-01-06 23:22 vicser Assigned To => BusyBox
======================================================================
More information about the busybox-cvs
mailing list