Skip to content

fix: overflow in r1cs trans on shifts#238

Merged
alex-ozdemir merged 2 commits intocircify:masterfrom
alex-ozdemir:fix-r1cs-trans-sh-overflow
Jan 27, 2026
Merged

fix: overflow in r1cs trans on shifts#238
alex-ozdemir merged 2 commits intocircify:masterfrom
alex-ozdemir:fix-r1cs-trans-sh-overflow

Conversation

@alex-ozdemir
Copy link
Contributor

Our shift implementation was broken on bit-vectors of 32-bit or greater length. This caused a crash in debug builds and miscompilation (unsound and incomplete) in release builds.

Thanks to Liza Pertseva, who reported the bug.

@alex-ozdemir alex-ozdemir force-pushed the fix-r1cs-trans-sh-overflow branch from a19af44 to 38ba8d6 Compare January 27, 2026 17:39
@alex-ozdemir alex-ozdemir merged commit 271f911 into circify:master Jan 27, 2026
1 check passed
@alex-ozdemir alex-ozdemir deleted the fix-r1cs-trans-sh-overflow branch January 27, 2026 19:54
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