• Petr Vandrovec's avatar
    [PATCH] FAT/VFAT memory corruption during mount() · 10d033f7
    Petr Vandrovec authored
    This patch fixes memory corruption during vfat mount: one byte
    before mount options is overwritten by ',' since strtok->strsep
    conversion happened.
    
    This patch also fixes another problem introduced by strtok->strsep
    conversion: VFAT requires that FAT does not modify passed options,
    but unfortunately FAT driver fails to preserve options string if
    there is more than one consecutive comma in option string.
    10d033f7
namei.c 30.3 KB