-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
GenesisBlockZero/genesisblock.c
Line 185 in 28a53c1
| transaction->scriptSig = malloc(scriptSig_len*sizeof(uint8_t)); |
garbage stuff
chance of fail on timestamp<8 bytes
also:
nonce 4294967295 is out of the game coz of where bitcoin authors use autowrap this one use smth else
GenesisBlockZero/genesisblock.c
Line 330 in 28a53c1
| if(startNonce > 4294967294LL) |
autowrap means
uint8_t fifty()
{
uint8_t b=255;
b++;
return b;
}returns zero.
...and
at least on 64-bit system this stuff
GenesisBlockZero/genesisblock.c
Line 172 in 28a53c1
| sscanf(argv[3], "%lu", (long unsigned int *)&nBits); |
smashes stack .It's not visible there, but may became so (very fast) .
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels