On Monday, August 27, 2012 9:13:11 am David Wolfskill wrote:
> Starting devd.
> REDZONE: Buffer underflow detected. 1 byte corrupted before 0xced40080 
(4294966796 bytes allocated).

This size seems wait outlandish.  The only malloc in devctl_queue_data_f() is:

        struct dev_event_info *n1 = NULL, *n2 = NULL;

        ...
        n1 = malloc(sizeof(*n1), M_BUS, flags);

On amd64 that structure's size is 24 bytes.  On i386 it is probably similar.
Certainly not 4GB.  I cannot see any overflow bugs with
'struct dev_event_info' objects.  In this case I think the redzone metadata 
that specified the object's size was corrupted, but I've no idea how that 
could occur.

-- 
John Baldwin
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to