[binaryToString] Fixed overread when passing start > 0
binaryToString(DataBuf&) only calls the C-array version. Unfortunately, its safety check is flawed, as it only works when start is 0 (probably due to its conterintuitive interface). binaryToString(byte*) formats the range (start,start+size) => we have to trimm size if size + start is larger than the DataBuf's size_v0.27.3
parent
bfd84ddf5a
commit
a48d0347b7
Loading…
Reference in New Issue