Re: Potential free/use-after-free bugs

2001-03-17 Thread Greg KH
On Fri, Mar 16, 2001 at 10:17:30PM -0800, Seth Andrew Hallem wrote: > [BUG] Potential double or more free. > /home/shallem/oses/linux/2.4.1/drivers/usb/serial/belkin_sa.c:236:belkin_sa_shutdown: > ERROR:FREE:237:236: Use-after-free of 'private'! set by 'kfree':237 > > } >

Re: Potential free/use-after-free bugs

2001-03-17 Thread Andrew Morton
Seth Andrew Hallem wrote: > > I also have some questions regarding skbs. Our checker > found a lot of instances where the skb is freed, then its length field is > accessed. I have included an example location below. Is this a bug or > not? Yes, we should regard it as a bug. A dev_kfree_skb_i

Potential free/use-after-free bugs

2001-03-16 Thread Seth Andrew Hallem
Hello, I am another student of Dawson Engler's working on the meta-level compilation project. I have just finished processing the results of a checker which looks for double frees and use-after-frees. I think we have found 12-14 bugs. I also have some questions regarding skbs. Our checker fou