summaryrefslogtreecommitdiffstats
path: root/modules/zip/doc_classes/ZIPPacker.xml
diff options
context:
space:
mode:
authorMack <86566939+Macksaur@users.noreply.github.com>2022-12-06 17:40:46 +0000
committerMack <86566939+Macksaur@users.noreply.github.com>2023-05-31 13:11:59 +0000
commit1326b7e04f6592195d3bc377ec602fd2e120a336 (patch)
tree63183cdd45397def7a7e3803820a81babf50dbf5 /modules/zip/doc_classes/ZIPPacker.xml
parent83d5cbf519c3864fe793a84ed6ae0f74a0f91660 (diff)
downloadredot-engine-1326b7e04f6592195d3bc377ec602fd2e120a336.tar.gz
Fix buffer over-read and memory leaks when using long filepaths in a zip archive and improved robustness of long filepaths and reading files.
Diffstat (limited to 'modules/zip/doc_classes/ZIPPacker.xml')
-rw-r--r--modules/zip/doc_classes/ZIPPacker.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/zip/doc_classes/ZIPPacker.xml b/modules/zip/doc_classes/ZIPPacker.xml
index 47ea50f031..5d5bedb773 100644
--- a/modules/zip/doc_classes/ZIPPacker.xml
+++ b/modules/zip/doc_classes/ZIPPacker.xml
@@ -63,10 +63,13 @@
</methods>
<constants>
<constant name="APPEND_CREATE" value="0" enum="ZipAppend">
+ Create a new zip archive at the given path.
</constant>
<constant name="APPEND_CREATEAFTER" value="1" enum="ZipAppend">
+ Append a new zip archive to the end of the already existing file at the given path.
</constant>
<constant name="APPEND_ADDINZIP" value="2" enum="ZipAppend">
+ Add new files to the existing zip archive at the given path.
</constant>
</constants>
</class>