Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

so... #4

Open
alexeyneu opened this issue Feb 21, 2018 · 0 comments
Open

so... #4

alexeyneu opened this issue Feb 21, 2018 · 0 comments

Comments

@alexeyneu
Copy link

alexeyneu commented Feb 21, 2018

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

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

sscanf(argv[3], "%lu", (long unsigned int *)&nBits);

smashes stack .It's not visible there, but may became so (very fast) .

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

No branches or pull requests

1 participant