mirror of
https://github.com/openharmony/third_party_ntfs-3g.git
synced 2026-07-01 06:41:57 -04:00
!53 unistr.c: Fix use-after-free in 'ntfs_uppercase_mbs'.
Merge pull request !53 from f房芷仪/0213
This commit is contained in:
+2
-1
@@ -1189,8 +1189,9 @@ char *ntfs_uppercase_mbs(const char *low,
|
||||
free(upp);
|
||||
upp = (char*)NULL;
|
||||
errno = EILSEQ;
|
||||
} else {
|
||||
*t = 0;
|
||||
}
|
||||
*t = 0;
|
||||
}
|
||||
return (upp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user