In-memory cache of byte array is vulnerable for external modifications
tujhex opened this issue · 3 comments
tujhex commented
Hi. When write/read byte arrays, lib uses in-memory cache. But if you get those array, and modify it - cache also modifies, because you have the same reference.
I encountered that when I tried to clear some fetched data with new Random().nextBytes(data)
after usage.
iamironz commented
Hi! Thank you for submitting, I'll fix this issue ASAP.
iamironz commented
Already fixed