diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2024-01-23 11:59:05 -0800 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2024-01-23 12:00:26 -0800 |
| commit | f56ad0aafa868303ce324ae8d45675570c66b050 (patch) | |
| tree | 5da9d249f289ca081c208529bcd6a8894247c4e0 | |
| parent | b289a50fc5cdbe28a7c058754287650b4ef3c02b (diff) | |
| download | zlib-f56ad0aafa868303ce324ae8d45675570c66b050.tar.gz zlib-f56ad0aafa868303ce324ae8d45675570c66b050.tar.bz2 zlib-f56ad0aafa868303ce324ae8d45675570c66b050.zip | |
Note termination of returned strings in contrib/minizip/unzip.h.
| -rw-r--r-- | contrib/minizip/unzip.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/minizip/unzip.h b/contrib/minizip/unzip.h index 5cfc9c6..ceb614e 100644 --- a/contrib/minizip/unzip.h +++ b/contrib/minizip/unzip.h | |||
| @@ -313,6 +313,10 @@ extern int ZEXPORT unzGetCurrentFileInfo(unzFile file, | |||
| 313 | This is the Central-header version of the extra field | 313 | This is the Central-header version of the extra field |
| 314 | if szComment!=NULL, the comment string of the file will be copied in szComment | 314 | if szComment!=NULL, the comment string of the file will be copied in szComment |
| 315 | (commentBufferSize is the size of the buffer) | 315 | (commentBufferSize is the size of the buffer) |
| 316 | The file name and comment will be zero-terminated if there is room in the | ||
| 317 | provided buffer. Otherwise the buffer will contain as much as will fit. If at | ||
| 318 | least 65537 bytes of room is provided, then the result will always be | ||
| 319 | complete and zero-terminated. | ||
| 316 | */ | 320 | */ |
| 317 | 321 | ||
| 318 | 322 | ||
