Re: some bugs in the kernel

2005-03-17 Thread David Schultz
On Mon, Mar 14, 2005, Ted Unangst wrote: These bugs were found using the Coverity Prevent static analysis tool. [...] Thanks for reporting these! It's great that your tools have been finding all these obscure bugs before users do. All of these should be fixed now, except for the if_ti bug,

Re: some bugs in the kernel

2005-03-16 Thread Andrey Simonenko
On Mon, Mar 14, 2005 at 01:25:21PM -0800, Ted Unangst wrote: NULL pointer dereference File: usr/home/tedu/src/sys/pci/if_ti.c Function: ti_setmulti malloc return at 1628 is not checked against NULL. Similar errors (lines numbers from 5.3-RELEASE): i386/i386/bios.c 516 devnodebuf =

Re: some bugs in the kernel

2005-03-16 Thread Will Froning
On Mon, 14 Mar 2005, Ted Unangst wrote: =These bugs were found using the Coverity Prevent static analysis tool. = =Memory Leak =File: usr/home/tedu/src/sys/geom/geom_bsd.c =Function: g_bsd_ioctl =Returning at line 378 leaks the just allocated 'label'. = =Buffer Overrun =File:

some bugs in the kernel

2005-03-15 Thread Ted Unangst
These bugs were found using the Coverity Prevent static analysis tool. Memory Leak File: usr/home/tedu/src/sys/geom/geom_bsd.c Function: g_bsd_ioctl Returning at line 378 leaks the just allocated 'label'. Buffer Overrun File: usr/home/tedu/src/sys/dev/hptmv/gui_lib.c Function: hpt_default_ioctl At

Re: some bugs in the kernel

2005-03-15 Thread c0ldbyte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 14 Mar 2005, Ted Unangst wrote: These bugs were found using the Coverity Prevent static analysis tool. Memory Leak File: usr/home/tedu/src/sys/geom/geom_bsd.c Function: g_bsd_ioctl Returning at line 378 leaks the just allocated 'label'. Buffer