Dan Carpenter bc5b8a9003 hfs: add sanity check for file name length
On a corrupted file system the ->len field could be wrong leading to
a buffer overflow.

Reported-and-acked-by: Clement LECIGNE <clement.lecigne@netasq.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-11-15 14:29:42 -02:00
..
2005-04-16 15:20:36 -07:00
2010-10-12 17:36:11 +02:00
2008-07-25 10:53:33 -07:00
2010-10-12 17:36:11 +02:00
2009-12-15 08:53:10 -08:00
2011-11-02 12:53:43 +01:00
2008-07-25 10:53:33 -07:00
2011-01-07 17:50:20 +11:00
2011-11-02 12:53:43 +01:00
2009-01-22 13:15:57 +03:00
2005-04-16 15:20:36 -07:00
2010-10-25 21:18:21 -04:00
2005-04-16 15:20:36 -07:00
2011-01-07 17:50:20 +11:00
2011-01-12 20:02:45 -05:00