• J
    udf: Fix oops when invalid character in filename occurs · 59285c28
    Jan Kara 提交于
    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: NJan Kara <jack@suse.cz>
    59285c28
unicode.c 11.1 KB