NetBSD-Bugs archive

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

Re: kern/40651: kmem_alloc() returns misaligned pointers

Martin Husemann <> writes:

>  On Tue, Feb 17, 2009 at 10:56:58PM +0000, Andrew Doran wrote:
>  > It should be:
>  > 
>  >    size += REDZONE_SIZE;
>  >    kmem_poison_fill(p, size);
>  Unfortunately that does not fix it - still the same:

The added region already passed the poison check just above so it
shouldn't fix it.

>  panic: kmem_poison_check: 0xf41cb600: 0x00 != 0x73

I'd like to see the contents of around this address.  Also, if someone
really writing beyond the allocated region, the Andrew's patch to
detect memory abuse posted on tech-kern few weeks ago might help.


Home | Main Index | Thread Index | Old Index