Re: 2.1.23: bug in kernel/module.c (patch included)

Aaron Tiensivu (tiensivu@pilot.msu.edu)
Tue, 28 Jan 1997 00:13:13 -0500


John Callahan writes:
>
> - --- kernel/module.c.orig Mon Jan 27 09:18:04 1997
> +++ kernel/module.c Mon Jan 27 14:32:59 1997
> @@ -583,7 +583,7 @@
>
> calc_space_needed:
> for (; i < mod->nsyms; ++i, ++s)
> - - space += strlen((++s)->name)+1;
> + space += strlen(s->name)+1;
>
> if (put_user(space, ret))
> return -EFAULT;

I think this is the real deal folks.. my modules finally work now!

--
Which is worse: ignorance or apathy?  Who knows?  Who cares?
Wumpus95: Hunt the whoop-ass (in a can)
"Don't cry for me, Ike & Tina"
Most of your faults are not your fault.