Fix a SIGSEGV problem in directory entry renaming.
This commit is contained in:
parent
b64933321a
commit
a22ed494f8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=230529
@ -1086,6 +1086,8 @@ cd9660_rename_filename(cd9660node *iter, int num, int delete_chars)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
while (count < maxlength) {
|
while (count < maxlength) {
|
||||||
|
if (*naming == ';')
|
||||||
|
break;
|
||||||
naming++;
|
naming++;
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user