From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 12 Feb 2016 22:16:52 +0100 Subject: [U-Boot] [PATCH] usb: eth: fix memalign() parameter order In-Reply-To: References: <1455310561-4987-1-git-send-email-swarren@wwwdotorg.org> Message-ID: <56BE4BC4.7080308@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 02/12/2016 10:15 PM, Joe Hershberger wrote: > On Fri, Feb 12, 2016 at 2:56 PM, Stephen Warren wrote: >> From: Stephen Warren >> >> The alignment and size were swapped, leading to malloc heap corruption. >> >> On my system, this sometimes caused U-Boot to crash during or after >> certain USB Ethernet operations. >> >> Fixes: c8c2797c3810 ("dm: usb: eth: Support driver model with USB Ethernet") >> Signed-off-by: Stephen Warren > > Yikes. > > Reviewed-by: Joe Hershberger > Applied to u-boot-usb/master, thanks.