Re: [CHECKER] 3 kmalloc underallocation bugs

2001-04-05 Thread Ben Pfaff
Dawson Engler <[EMAIL PROTECTED]> writes: > enclosed are three bugs found in the 2.4.1 kernel by an extension > that checks that kmalloc calls allocate enough memory. It examines all > callsites of the form: > p = [kv]malloc(nbytes); > and issues an error if > sizeof *p < nbytes [..

Re: [CHECKER] 3 kmalloc underallocation bugs

2001-04-05 Thread Jeff Golds
André Dahlqvist wrote: > > Dawson Engler <[EMAIL PROTECTED]> wrote: > > enclosed are three bugs found in the 2.4.1 kernel by an extension > > Why are you guys running these tests against an already old kernel? > I would suggest running it against at least Linus' latest version, or > preferably Ala

Re: [CHECKER] 3 kmalloc underallocation bugs

2001-04-05 Thread André Dahlqvist
Dawson Engler <[EMAIL PROTECTED]> wrote: > enclosed are three bugs found in the 2.4.1 kernel by an extension Why are you guys running these tests against an already old kernel? I would suggest running it against at least Linus' latest version, or preferably Alan's -ac tree. -- André Dahlqvist <

[CHECKER] 3 kmalloc underallocation bugs

2001-04-05 Thread Dawson Engler
enclosed are three bugs found in the 2.4.1 kernel by an extension that checks that kmalloc calls allocate enough memory. It examines all callsites of the form: p = [kv]malloc(nbytes); and issues an error if sizeof *p < nbytes I think they're all currently harmless because of kmal