commit | ca976c53de0c33160083d36f70bd18d7970f6969 | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Tue Sep 22 16:43:28 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Sep 23 07:39:27 2009 -0700 |
tree | efd3abdc12b0c636a4dba94dbcab4bafc78423b8 | |
parent | fa081b00a80ef3f4575c99af6e97d29e1628cf51 [diff] |
smbfs: 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 read of day_n[-1] Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>