Bug 114502

Summary: loader has a hardcoded limit of 50 modules
Product: [Retired] Red Hat Raw Hide Reporter: Bill Nottingham <notting>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED CURRENTRELEASE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: FC3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-21 20:44:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bill Nottingham 2004-01-28 20:19:24 UTC
loader2/modules.h:
...
struct moduleList_s {
    struct loadedModuleInfo mods[50];
    int numModules;
};
...

Discovered this when loader --test was crashing very very early with a
blown stack.

Comment 1 Jeremy Katz 2004-01-28 21:15:50 UTC
You're loading 50 modules?  You're crazy ;-)

Comment 2 Bill Nottingham 2004-01-28 22:05:30 UTC
I'm running in test mode. I have 55 modules loaded.

Blame ALSA. :)


Comment 3 Jeremy Katz 2005-09-21 20:44:13 UTC
Not going to fix this until it becomes a problem in real installs

Comment 4 Bill Nottingham 2005-09-21 20:54:29 UTC
Hm, perhaps I should have closed this when I committed the patch in February 2004.