Skip to content

so... #4

@alexeyneu

Description

@alexeyneu

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) .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions