diff options
author | Jan Kara <jack@suse.cz> | 2009-02-04 19:46:11 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2009-04-02 12:29:53 +0200 |
commit | 59285c28d18b77437e6dc7c2abb9aaee10ec3a75 (patch) | |
tree | 70e567d2372045363f5062b59619f680f65172c3 /fs/udf/super.c | |
parent | 557f5a1468394069da2bd6a63e23970ff12aa072 (diff) | |
download | kernel_samsung_crespo-59285c28d18b77437e6dc7c2abb9aaee10ec3a75.zip kernel_samsung_crespo-59285c28d18b77437e6dc7c2abb9aaee10ec3a75.tar.gz kernel_samsung_crespo-59285c28d18b77437e6dc7c2abb9aaee10ec3a75.tar.bz2 |
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>
Diffstat (limited to 'fs/udf/super.c')
0 files changed, 0 insertions, 0 deletions