You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minitar dump when I use it to compress(-cjf) a long filename(cn_windows_10_consumer_edition_version_1809_updated_sept_2018_x64_dvd_051b7719.iso). I trace and find that "t->filesystem_table[t->current->filesystem_id].name_max "is equal "0" in archive_read_disk_posix.c:2379。continue I trace where this variable set,it's archive_read_disk_posix.c:1674 and sfs is get from fstatvfs(Line:1635). Last, I test the system function(fstatvfs and statvfs) in Ubuntu16.04, the value of sfs.f_namemax is always 0.
The text was updated successfully, but these errors were encountered:
Add error handling to the USE_READDIR_R code paths that set name_max
from struct statfs or statvfs; if the determined name_max == 0
then return an error.
Avoids a crash in tree_dir_next_posix() when the calculation of
dirent_size from name_max is too small for the memory allocated
for struct dirent.
This may fix Github issue #1149
This may fix NetBSD PR https://gnats.netbsd.org/56080
minitar dump when I use it to compress(-cjf) a long filename(cn_windows_10_consumer_edition_version_1809_updated_sept_2018_x64_dvd_051b7719.iso). I trace and find that "t->filesystem_table[t->current->filesystem_id].name_max "is equal "0" in archive_read_disk_posix.c:2379。continue I trace where this variable set,it's archive_read_disk_posix.c:1674 and sfs is get from fstatvfs(Line:1635). Last, I test the system function(fstatvfs and statvfs) in Ubuntu16.04, the value of sfs.f_namemax is always 0.
The text was updated successfully, but these errors were encountered: