DragonFly BSD
DragonFly bugs List (threaded) for 2004-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: fb & linprocfs


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 Aug 2004 20:01:59 -0700 (PDT)

: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




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]