]> err.no Git - linux-2.6/commit
[PATCH] fs/smbfs/proc.c: fix data corruption in smb_proc_setattr_unix()
authorMaciej W. Rozycki <macro@linux-mips.org>
Sun, 8 Jan 2006 09:04:50 +0000 (01:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:14:04 +0000 (20:14 -0800)
commitac34dd052400b1e63aa8e711a13c0670943296fd
tree690f1c13638420df3dbad24bd9916b5b29b32c32
parenta12dea7af93ae83bd868c0dc09367090ead7cc1e
[PATCH] fs/smbfs/proc.c: fix data corruption in smb_proc_setattr_unix()

This patch fixes a data corruption in smb_proc_setattr_unix()
(smb_filetype_from_mode() returns an u32, and there are only four bytes
reserved for it in data.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/smbfs/proc.c