Skip to content

Commit

Permalink
@jaffking found that casesensitive = 0 can cause kernel NULL pointer …
Browse files Browse the repository at this point in the history
…dereference

so for now fix the BUG till full review WHY we have this BUG.

Thanks jaffking for temp solution.

dorimanx#46
  • Loading branch information
dorimanx committed Jun 13, 2014
1 parent 16cd471 commit 1769d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exfat_super.c
Original file line number Diff line number Diff line change
Expand Up @@ -2105,7 +2105,7 @@ static int parse_options(char *options, int silent, int *debug,
opts->allow_utime = (unsigned short) -1;
opts->codepage = exfat_default_codepage;
opts->iocharset = exfat_default_iocharset;
opts->casesensitive = 0;
opts->casesensitive = 1;
opts->errors = EXFAT_ERRORS_RO;
#ifdef CONFIG_EXFAT_DISCARD
opts->discard = 0;
Expand Down

0 comments on commit 1769d2d

Please sign in to comment.