From: Dan Rosenberg Date: Fri, 6 May 2011 03:27:18 +0000 (+0000) Subject: dccp: handle invalid feature options length X-Git-Tag: v2.6.39~61^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a294865978b701e4d0d90135672749531b9a900d;p=pandora-kernel.git dccp: handle invalid feature options length A length of zero (after subtracting two for the type and len fields) for the DCCPO_{CHANGE,CONFIRM}_{L,R} options will cause an underflow due to the subtraction. The subsequent code may read past the end of the options value buffer when parsing. I'm unsure of what the consequences of this might be, but it's probably not good. Signed-off-by: Dan Rosenberg Cc: stable@kernel.org Acked-by: Gerrit Renker Signed-off-by: David S. Miller --- Reading git-diff-tree failed