Skip to content

Avoid isomorphism 0#784

Merged
zakird merged 1 commit intozmap:mainfrom
droe:droe/fix-isomorphism-0
Feb 15, 2024
Merged

Avoid isomorphism 0#784
zakird merged 1 commit intozmap:mainfrom
droe:droe/fix-isomorphism-0

Conversation

@droe
Copy link
Contributor

@droe droe commented Feb 15, 2024

With probability of roughly 1/group->prime, find_primroot() was allowing a candidate value of 0 through the checks, resulting in a scan that only sent one packet per send thread, all to index 0, because shard->params.factor ended up as 0.

With probability of roughly 1/group->prime, find_primroot() was allowing
a candidate value of 0 through the checks, resulting in a scan that only
sent one packet per send thread, all to index 0.
@zakird zakird merged commit badb542 into zmap:main Feb 15, 2024
@droe droe deleted the droe/fix-isomorphism-0 branch March 11, 2024 08:01
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