commit | 331c31351044888916805c9cb32d8bb9e40c12e9 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Wed Dec 17 06:31:53 2008 -0500 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Dec 17 14:59:55 2008 -0800 |
tree | 41b7d9c95c1e5e1f413c3b026a26979c34d0b3e0 | |
parent | a52519f2ce180890069fa7b1a92fa51d4448a0ba [diff] |
cifs: fix buffer overrun in parse_DFS_referrals While testing a kernel with memory poisoning enabled, I saw some warnings about the redzone getting clobbered when chasing DFS referrals. The buffer allocation for the unicode converted version of the searchName is too small and needs to take null termination into account. Signed-off-by: Jeff Layton <jlayton@redhat.com> Acked-by: Steve French <sfrench@us.ibm.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>