Skip to content

Check AA allocation dimensions#50

Closed
bodono wants to merge 1 commit into
masterfrom
codex/checked-allocation-sizing
Closed

Check AA allocation dimensions#50
bodono wants to merge 1 commit into
masterfrom
codex/checked-allocation-sizing

Conversation

@bodono

@bodono bodono commented Apr 28, 2026

Copy link
Copy Markdown
Member

Summary

  • add a small allocation-size overflow check for AA workspace dimensions
  • precompute the large allocation counts used by the existing calloc calls
  • add a C regression for dimensions that overflow the augmented row count

Tests

  • make test
  • venv/bin/python -m pytest tests/python/test_aa.py -q

@bodono bodono force-pushed the codex/checked-allocation-sizing branch from 2aae57f to 9642cc4 Compare April 30, 2026 22:41
@bodono bodono closed this Apr 30, 2026
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.

1 participant