parity-common icon indicating copy to clipboard operation
parity-common copied to clipboard

[rlp] BasicEncoder::insert_list_payload investigate if pos can be 0

Open niklasad1 opened this issue 3 years ago • 0 comments

If pos is ever zero it looks like nasty things could happen (was true before too); can you double-check it cannot be called with pos == 0?

Originally posted by @dvdplm in https://github.com/paritytech/parity-common/pull/462#discussion_r533765553

niklasad1 avatar Dec 04 '20 09:12 niklasad1