lkml.org 
[lkml]   [1997]   [Jan]   [28]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 28 Jan 1997 00:13:13 -0500
From(Aaron Tiensivu)
SubjectRe: 2.1.23: bug in kernel/module.c (patch included)
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.

\
 
 \ /
  Last update: 2005-03-22 12:38    [from the cache]
©2003-2008