diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-08-04 18:28:18 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-08-04 18:28:18 -0400 |
| commit | 8e2156ac483e7fa0f2007188b670eb11f2a44720 (patch) | |
| tree | f6fcbb022fee0d3ad060c2429ae465aaed17ba7d /builtins/datatypes.h | |
| parent | 73000498674ea2a72204c0e137c45bdfa7afd524 (diff) | |
Guard against tables exceeding maximum supported size
Diffstat (limited to 'builtins/datatypes.h')
| -rw-r--r-- | builtins/datatypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtins/datatypes.h b/builtins/datatypes.h index e73e3c16..f1aa5747 100644 --- a/builtins/datatypes.h +++ b/builtins/datatypes.h @@ -34,6 +34,7 @@ typedef struct { uint32_t next_bucket; } bucket_t; +#define TABLE_MAX_BUCKETS 0x7fffffff #define TABLE_MAX_DATA_REFCOUNT 3 typedef struct { |
