https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267028

--- Comment #218 from Mark Millard <[email protected]> ---
(In reply to Mark Millard from comment #217)

I'll note that linker_load_dependencies that shows up
in the modern example kernel (non-kgdb) backtrace also
calls modlist_lookup . It also uses strcmp directly.
And it also calls modlist_lookup2 that in turn calls
modlist_lookup . It can also recurse back out to
linker_load_module.

It appears that getting a dump during the initial general
protection fault and getting it savecore'd and crashinfo'd
so that we can see a kgdb backtrace is what would be the
primary next-useful-thing.

I also hope that:

static modlisthead_t found_modules;

can be examined to see if the modlist has any bad name
pointers that strcmp ends up trying to use.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to