The following reply was made to PR kern/155658; it has been noted by GNATS.
From: Andreas Longwitz <[email protected]> To: [email protected] Cc: Subject: Re: kern/155658: [amr] [patch] amr_ioctl(): call of malloc() causes memory corruption and panic Date: Tue, 13 Sep 2011 11:43:46 +0200 It is much better to modify the malloc in the patch in this way: malloc(max(au_length, MAX_AMR_IOCTL), M_AMR, M_WAITOK|M_ZERO)) Thanks to Adran Chadd for this hint. -- Dr. Andreas Longwitz Data Service GmbH Beethovenstr. 2A 23617 Stockelsdorf Amtsgericht Lübeck, HRB 318 BS Geschäftsführer: Wilfried Paepcke, Dr. Andreas Longwitz, Josef Flatau _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
