[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1289529838.3090.209.camel@Dan>
Date: Thu, 11 Nov 2010 21:43:58 -0500
From: Dan Rosenberg <drosenberg@...curity.com>
To: Simon Horman <horms@...ge.net.au>
Cc: Oliver Hartkopp <socketcan@...tkopp.net>,
David Miller <davem@...emloft.net>,
Linux Netdev List <netdev@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Urs Thuermann <urs@...ogud.escape.de>, security@...nel.org
Subject: Re: can-bcm: fix minor heap overflow
>
> If the string may be up to 17 bytes long why are you allocating 20?
>
In Oliver's defense, this doesn't matter even a little bit. The
structure will be allocated with kmalloc-1024 either way.
-Dan
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists