Skip to content

Add hard limit to zip file count, file size and check available space - #744

Open
metsma wants to merge 1 commit into
masterfrom
zip
Open

metsma wants to merge 1 commit into
masterfrom
zip

Conversation

@metsma

@metsma metsma commented May 27, 2026

Copy link
Copy Markdown
Contributor

IB-8941, IB-9013, IB-9017

Signed-off-by: Raul Metsma raul@metsma.ee

IB-8941, IB-9013, IB-9017

Signed-off-by: Raul Metsma <raul@metsma.ee>
@metsma metsma changed the title Add hard limit to zip file count Add hard limit to zip file count, file size and check available space Sep 15, 2026

namespace
{
void append16(vector<unsigned char> &data, uint16_t value)
data.push_back(static_cast<unsigned char>(value >> 8));
}

void append32(vector<unsigned char> &data, uint32_t value)
SyntheticZip(size_t count, uint32_t compressed, uint32_t uncompressed)
: path(util::File::tempFileName())
{
vector<unsigned char> data;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants