Skip to content

Add bounds check when allocating TweakDB data - #224

Merged
wopss merged 3 commits into
wopss:masterfrom
psiberx:master
Jul 30, 2026
Merged

Add bounds check when allocating TweakDB data#224
wopss merged 3 commits into
wopss:masterfrom
psiberx:master

Conversation

@psiberx

@psiberx psiberx commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator
  • Added bounds check for flat value allocations. The hard limit for TweakDB data buffer is 16 MiB.
  • Fixed static assertions in Variant for C++20 and older. Before C++23 static_assert(false, ...) will always cause compilation error, even in discarded branches. For C++20 and older, the condition in discarded branch must depend on any template parameter.

@wopss

wopss commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Thanks!

@wopss
wopss merged commit ad72777 into wopss:master Jul 30, 2026
9 checks passed
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