lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200707151954.36583.david-b@pacbell.net>
Date:	Sun, 15 Jul 2007 19:54:36 -0700
From:	David Brownell <david-b@...bell.net>
To:	Al Viro <viro@....linux.org.uk>
Cc:	Linux Kernel list <linux-kernel@...r.kernel.org>,
	Yoshihiro Shimoda <shimoda.yoshihiro@...esas.com>
Subject: Re: [PATCH] minimal fixes for drivers/usb/gadget/m66592-udc.c

On Sunday 15 July 2007, Al Viro wrote:
> On Sun, Jul 15, 2007 at 04:18:10PM -0700, David Brownell wrote:
> > Re the leaks, in probe() request_irq() isn't cleaned up ... but it
> > looked to me like the rest of the allocations did get cleaned up
> > afer probe() errors.  But remove() does indeed leak the memory you
> > highlighted.
> 
> Why not make ep0_buf a 16bit field in that struct?

Ask the driver author.  :)

That should work, given proper byteswapping.  It's only
used to transmit certain results.

- Dave
 


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ