Skip to content

multi_scalar.c: sanitize blst_p{12}s_tile_pippenger parameters - #290

Closed
arib06 wants to merge 1 commit into
supranational:masterfrom
arib06:tile-pippenger-sanitize
Closed

arib06 wants to merge 1 commit into
supranational:masterfrom
arib06:tile-pippenger-sanitize

Conversation

@arib06

@arib06 arib06 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

reject npoints==0, bit0>nbits and window==0 in blst_p{12}s_tile_pippenger the way blst_p{12}s_mult_pippenger already does, since npoints==0 wraps the internal prefetch decrement to SIZE_MAX and bit0>nbits underflows wbits, both of which AddressSanitizer flags as heap-buffer-overflow reads past points[] and the bucket scratch.

@dot-asm dot-asm closed this in 19b285a Oct 12, 2026
@dot-asm

dot-asm commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator

Thanks!

@dot-asm dot-asm reopened this Oct 12, 2026
@dot-asm dot-asm closed this Oct 12, 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.

2 participants