diff options
| author | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2026-06-25 00:00:00 +0000 |
|---|---|---|
| committer | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2026-06-26 11:00:29 +0500 |
| commit | f9d78aff31a5f2521ae7ddbdc97c4a8855808959 (patch) | |
| tree | bf7e13577f75aa4c7c56af1153d6fa15c6052445 /C/Util/7z | |
| parent | 8c63d71ff886bda90c86db28466287f977374237 (diff) | |
| download | 7zip-main.tar.gz 7zip-main.tar.bz2 7zip-main.zip | |
Diffstat (limited to 'C/Util/7z')
| -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 | { |
