From: Roel Kluin Date: Tue, 22 Sep 2009 23:45:54 +0000 (-0700) Subject: ncpfs: read buffer overflow X-Git-Tag: v2.6.32-rc1~298 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5df59136a55fe08c21d39321679cbb008479edf;p=pandora-kernel.git ncpfs: read buffer overflow This function uses signed integers for the unix_date and local variables - if a negative number is supplied and the leap-year condition is not met, month will be 0, leading to a later read of day_n[-1] Signed-off-by: Roel Kluin Cc: Petr Vandrovec Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed