diff options
author | Eric Sesterhenn <snakebyte@gmx.de> | 2008-10-15 22:04:11 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-11-13 09:56:06 -0800 |
commit | 3c050502c4166dc12009f35eb41fabe9c900cd43 (patch) | |
tree | 42f1ae5c82539ea57817b36d0e2f8426092783cb /fs/ubifs/commit.c | |
parent | 5995f4d7e9419b62432eeb3a6dfa4c164d2def7e (diff) |
hfs: fix namelength memory corruption (CVE-2008-5025)
commit d38b7aa7fc3371b52d036748028db50b585ade2e upstream
Fix a stack corruption caused by a corrupted hfs filesystem. If the
catalog name length is corrupted the memcpy overwrites the catalog btree
structure. Since the field is limited to HFS_NAMELEN bytes in the
structure and the file format, we throw an error if it is too long.
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions