fixed runaway memory alloc bug on 64-bit in ParseString found by sirius-m
fixed runaway memory alloc bug on 64-bit in ParseString found by sirius-m

wastholm/bitcoin,wastholm/bitcoin,wastholm/bitcoin,wastholm/bitcoin,wastholm/bitcoin,wastholm/bitcoin