Skip to content

Commit f329ce8

Browse files
committed
Increase maximum allowed schema file siz
1 parent d073ffd commit f329ce8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
includes source code fixes for some build variants. Although
1616
Windows build is included it only covers recent 64-bit Windows. More
1717
work is need for older Windows variants. (#250).
18+
- Increase maximum allowed schema file size from 64 KiB to 1 MB (#256).
1819

1920

2021
## [0.6.1]

config/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
* is covers the accumulated size of all included files. 0 is unlimited.
5555
*/
5656
#ifndef FLATCC_MAX_SCHEMA_SIZE
57-
#define FLATCC_MAX_SCHEMA_SIZE 64 * 1024
57+
#define FLATCC_MAX_SCHEMA_SIZE 1000000
5858
#endif
5959

6060
/*

0 commit comments

Comments
 (0)