Bug 3766 - insmod core dumps on "bad" driver object
insmod core dumps on "bad" driver object
Product: Red Hat Linux
Classification: Retired
Component: modutils (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Cristian Gafton
Depends On:
  Show dependency treegraph
Reported: 1999-06-28 00:34 EDT by eloranta
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-07-28 02:19:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description eloranta 1999-06-28 00:34:15 EDT
If one happens to create a driver object which
has accidentally left out the kernel_version definition
(note: at ld -r it gets declared as an external in
symbol table!)
then insmod core dumps when it tries to find out the
kernel version for which the driver was compiled.
It should check if the kernel_version symbol is defined
as an external or not. If it is then complain and
do nothing further.
Comment 1 Jay Turner 1999-06-28 08:43:59 EDT
This issue has been forwarded to a developer for further action.
Comment 2 Cristian Gafton 1999-07-28 02:19:59 EDT
insmod has no way of testing is a module is correct or not - it has to
walk blindly in the object structure and read whatever is there.

Note You need to log in before you can comment on or make changes to this bug.