issues
search
maidsafe
/
self_encryption
file self encryptor
Other
118
stars
70
forks
source link
fix(seek): avoid range out of bounds panic
#339
Closed
oetyng
closed
2 years ago
oetyng
commented
2 years ago
Check the
relative_pos + len
against the bytes before calling slice, as to avoid a panic from the fn if we did not have enough bytes.
relative_pos + len
against the bytes before calling slice, as to avoid a panic from the fn if we did not have enough bytes.