commit | d370af0ef7951188daeb15bae75db7ba57c67846 | [log] [tgz] |
---|---|---|
author | Dan Rosenberg <drosenberg@vsecurity.com> | Sun Mar 20 15:32:06 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 27 17:59:02 2011 -0700 |
tree | f884335124cf68d375afef3226a7378e6f5f3d33 | |
parent | d50e7e3604778bfc2dc40f440e0742dbae399d54 [diff] |
irda: validate peer name and attribute lengths Length fields provided by a peer for names and attributes may be longer than the destination array sizes. Validate lengths to prevent stack buffer overflows. Signed-off-by: Dan Rosenberg <drosenberg@vsecurity.com> Cc: stable@kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>