aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/procfs_example.c
diff options
context:
space:
mode:
authorEric Sesterhenn <[email protected]>2008-10-16 05:04:11 +0000
committerLinus Torvalds <[email protected]>2008-10-16 18:21:46 +0000
commitd38b7aa7fc3371b52d036748028db50b585ade2e (patch)
treefd4193112378362a5c12999d467bdaaf8875d1b0 /Documentation/DocBook/procfs_example.c
parenthfsplus: check read_mapping_page() return value (diff)
downloadkernel-d38b7aa7fc3371b52d036748028db50b585ade2e.tar.gz
kernel-d38b7aa7fc3371b52d036748028db50b585ade2e.zip
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 'Documentation/DocBook/procfs_example.c')
0 files changed, 0 insertions, 0 deletions