fb & linprocfs

Matthew Dillon dillon at apollo.backplane.com
Thu Aug 12 20:06:44 PDT 2004


:Hi,
:
:I noticed that a bug I discovered in FreeBSD a while back still is 
:present in DF. Also there is a kernel mem disclosure bug in linprocfs. 
:See attached diffs..
:
 
    I've committed both patches.  Note that I made a modification to 
    the base + count checks.  I cast it to u_int to deal with signed
    overflows which the < 0 checks do not prevent.  e.g.

    if ((u_int)(base + count) > 256) ...

    Thanks!

					-Matt






More information about the Bugs mailing list