diff options
| author | Eric Sesterhenn <[email protected]> | 2008-10-15 22:04:11 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-10-16 11:21:46 -0700 |
| commit | d38b7aa7fc3371b52d036748028db50b585ade2e (patch) | |
| tree | fd4193112378362a5c12999d467bdaaf8875d1b0 /tools/perf/scripts/python | |
| parent | 649f1ee6c705aab644035a7998d7b574193a598a (diff) | |
hfs: fix namelength memory corruption
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 <[email protected]>
Signed-off-by: Eric Sesterhenn <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions