lkml.org 
[lkml]   [1996]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectBug in sysklogd v1.3-0
Date


I just checked the LATEST sysklogd package (v1.3-0) available from
sunsite and tsx-11, and it _still_ has the version bug :-(

To patch the sysklogd source code, edit the function CheckVersion()
in the file ksym.c, and change line 406 from:
auto char vstring[6];
to:
auto char vstring[9];
Which is plenty of room for versions like v255.255.255 :-)
(v255.255.255 = 0xffffff = 16777215 which is a 9 character string)

This bug affects all v2.*.* kernels.
(v2.0.0 = 0x20000 = 131072 which is a 7 character string)

--
Andrew E. Mileski mailto:aem@ott.hookup.net
Linux Plug-and-Play Kernel Project http://www.redhat.com/linux-info/pnp/
XFree86 Matrox Team http://www.bf.rmit.edu.au/~ajv/xf86-matrox.html

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.165 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site