From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 17 17:50:07 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B0641065670 for ; Tue, 17 Apr 2012 17:50:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F16AB8FC14 for ; Tue, 17 Apr 2012 17:50:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q3HHo6Q9003543 for ; Tue, 17 Apr 2012 17:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q3HHo6kS003542; Tue, 17 Apr 2012 17:50:06 GMT (envelope-from gnats) Date: Tue, 17 Apr 2012 17:50:06 GMT Message-Id: <201204171750.q3HHo6kS003542@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: John Baldwin Cc: Subject: Re: kern/155658: [amr] [patch] amr_ioctl(): call of malloc() causes memory corruption and panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Baldwin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2012 17:50:07 -0000 The following reply was made to PR kern/155658; it has been noted by GNATS. From: John Baldwin To: bug-followup@FreeBSD.org, longwitz@incore.de, Scott Long Cc: Subject: Re: kern/155658: [amr] [patch] amr_ioctl(): call of malloc() causes memory corruption and panic Date: Tue, 17 Apr 2012 13:45:32 -0400 Scott, what do you think of this? Do you know offhand if there is a known maximum reply size for a message from an amr(4) controller? (That is, a better value for MAX_AMR_IOCTL in the proposed patch) -- John Baldwin