Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit cf9b94f8 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

irda: off by one


This is an off by one.  We would go past the end when we NUL terminate
the "value" string at end of the function.  The "value" buffer is
allocated in irlan_client_parse_response() or
irlan_provider_parse_command().

CC: stable@kernel.org
Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 89b12fab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment