From: Dan Carpenter Date: Sat, 4 Sep 2010 03:14:35 +0000 (+0000) Subject: irda: off by one X-Git-Tag: v2.6.27.54~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a80e26256afc836ea0b0e09444b1087cea46fd0a;p=pandora-kernel.git irda: off by one commit cf9b94f88bdbe8a02015fc30d7c232b2d262d4ad upstream. 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: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed