Skip to content

Fails to process integers above maximum of signed 32 bit integer "JSON integer out of range" #13

@johnjacksonbtc

Description

@johnjacksonbtc

"JSON integer out of range" error even appears on 64 bit binaries if integer parameter is expected and it is equal or above 2147483648.
An example json command that triggers above error: {"jsonrpc": "1.0", "method": "searchrawtransactions", "params": ["1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", 1, 0, 2147483648]}. This should trigger same error on mainstream binaries {"jsonrpc": "1.0", "method": "getrawtransaction", "params": ["4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b", 2147483648]}.
Tested on bitcoin-0.12.1-addrindex-win64

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