[Top] [All Lists]

Re: ELF header kernel module wrong?

Subject: Re: ELF header kernel module wrong?
From: Keith Owens <>
Date: Tue, 27 Feb 2001 10:39:39 +1100
In-reply-to: Your message of "Mon, 26 Feb 2001 13:17:42 +0200." <>
On Mon, 26 Feb 2001 13:17:42 +0200, wrote:
>If what you say is correct, then any module created by this toolchain
>would be impossible to 'insmod'

Not impossible, just silently corrupted if the symbol numbers were
wrong.  modutils 2.3.11 added a sanity check on the number of local
symbols, a version before 2.3.11 would accept any local symbol number
and overrun the allocated table if the number was out of bounds.

Sometimes the toolchain creates valid symbol numbers, sometimes an
invalid number will not cause any problems.  It is pure luck if it

<Prev in Thread] Current Thread [Next in Thread>