Signed/unsigned char mismatch in check.c causes false positives
in bad_name() and can result in data loss, see Debian bug #538758. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
This commit is contained in:
parent
d42a27373a
commit
28ff9d967c
@ -254,7 +254,7 @@ static int bad_name(DOS_FILE *file)
|
||||
{
|
||||
int i, spc, suspicious = 0;
|
||||
char *bad_chars = atari_format ? "*?\\/:" : "*?<>|\"\\/:";
|
||||
char *name = file->dir_ent.name;
|
||||
unsigned char *name = file->dir_ent.name;
|
||||
|
||||
/* Do not complain about (and auto-correct) the extended attribute files
|
||||
* of OS/2. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user