diff options
Diffstat (limited to '')
| -rw-r--r-- | C/Util/7z/7zMain.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/C/Util/7z/7zMain.c b/C/Util/7z/7zMain.c index 7048b66..300c363 100644 --- a/C/Util/7z/7zMain.c +++ b/C/Util/7z/7zMain.c | |||
| @@ -960,7 +960,12 @@ int Z7_CDECL main(int numargs, char *args[]) | |||
| 960 | if (listCommand == 0 && isDir && !fullPaths) | 960 | if (listCommand == 0 && isDir && !fullPaths) |
| 961 | continue; | 961 | continue; |
| 962 | len = SzArEx_GetFileNameUtf16(&db, i, NULL); | 962 | len = SzArEx_GetFileNameUtf16(&db, i, NULL); |
| 963 | // len = SzArEx_GetFullNameLen(&db, i); | 963 | |
| 964 | if (len > (1u << 20)) | ||
| 965 | { | ||
| 966 | res = SZ_ERROR_UNSUPPORTED; | ||
| 967 | break; | ||
| 968 | } | ||
| 964 | 969 | ||
| 965 | if (len > tempSize) | 970 | if (len > tempSize) |
| 966 | { | 971 | { |
