Skip to content

Commit

Permalink
Reduce the max buffer size from 16GB to 16MB
Browse files Browse the repository at this point in the history
  • Loading branch information
ch4rr0 committed Nov 17, 2023
1 parent b6bdafe commit 7b25631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filebuf.h
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ class OutFileBuf {
}

static constexpr size_t BUF_SZ = 16ul * 1024ul;
static constexpr size_t MAX_BUF_SZ = 16ul * 1024ul * 1024ul * 1024ul;
static constexpr size_t MAX_BUF_SZ = 16ul * 1024ul * 1024ul;

const char *name_;
FILE *out_;
Expand Down

0 comments on commit 7b25631

Please sign in to comment.