Skip to content
Snippets Groups Projects
Commit 022ea14f authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

Make canaries 31-bit instead of 32-bit to appease assembler

parent 36e71273
No related branches found
No related tags found
No related merge requests found
Pipeline #11538 failed
......@@ -99,7 +99,7 @@ class PNOptions
if (canary_value_inited)
return canary_value;
else
return (rand()&0xffff) | (rand()<<16);
return (rand()&0x7ffffff);
}
void setDoCanaries (bool canaries ) { do_canaries = canaries; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment