linux/fs/udf
Jan Kara 59285c28d1 udf: Fix oops when invalid character in filename occurs
Functions udf_CS0toNLS() and udf_NLStoCS0() didn't count with the fact that
NLS can return negative length when invalid character is given to it for
conversion. Thus interesting things could happen (such as overwriting random
memory with the rest of filename). Add appropriate checks.

Signed-off-by: Jan Kara <jack@suse.cz>
2009-04-02 12:29:53 +02:00
..
balloc.c udf: fix sparse warnings: 2009-04-02 12:29:51 +02:00
dir.c Fix the udf code not to pass structs on stack where possible. 2009-04-02 12:29:47 +02:00
directory.c Fix the udf code not to pass structs on stack where possible. 2009-04-02 12:29:47 +02:00
ecma_167.h Remove struct typedefs from fs/udf/ecma_167.h et al. 2009-04-02 12:29:47 +02:00
file.c udf: add llseek method 2008-09-08 20:31:04 +02:00
fsync.c UDF: coding style conversion - lindent fixups 2007-07-21 17:49:14 -07:00
ialloc.c Fix the udf code not to pass structs on stack where possible. 2009-04-02 12:29:47 +02:00
inode.c udf: fix default mode and dmode options handling 2009-04-02 12:29:52 +02:00
Kconfig fs/Kconfig: move iso9660, udf out 2009-01-22 13:15:55 +03:00
lowlevel.c udf: move headers out include/linux/ 2008-04-17 14:22:23 +02:00
Makefile udf: use crc_itu_t from lib instead of udf_crc 2008-04-17 14:29:56 +02:00
misc.c Fix the udf code not to pass structs on stack where possible. 2009-04-02 12:29:47 +02:00
namei.c Fix the udf code not to pass structs on stack where possible. 2009-04-02 12:29:47 +02:00
osta_udf.h Remove struct typedefs from fs/udf/ecma_167.h et al. 2009-04-02 12:29:47 +02:00
partition.c Remove struct typedefs from fs/udf/ecma_167.h et al. 2009-04-02 12:29:47 +02:00
super.c udf: return f_fsid for statfs(2) 2009-04-02 12:29:53 +02:00
symlink.c udf: move headers out include/linux/ 2008-04-17 14:22:23 +02:00
truncate.c Fix the udf code not to pass structs on stack where possible. 2009-04-02 12:29:47 +02:00
udf_i.h Remove struct typedefs from fs/udf/ecma_167.h et al. 2009-04-02 12:29:47 +02:00
udf_sb.h udf: fix default mode and dmode options handling 2009-04-02 12:29:52 +02:00
udfdecl.h Fix the udf code not to pass structs on stack where possible. 2009-04-02 12:29:47 +02:00
udfend.h Remove struct typedefs from fs/udf/ecma_167.h et al. 2009-04-02 12:29:47 +02:00
udftime.c Remove struct typedefs from fs/udf/ecma_167.h et al. 2009-04-02 12:29:47 +02:00
unicode.c udf: Fix oops when invalid character in filename occurs 2009-04-02 12:29:53 +02:00