aboutsummaryrefslogtreecommitdiffstats
path: root/libar2simplified_decode_r.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-06-23 18:16:57 +0200
committerMattias Andrée <maandree@kth.se>2023-06-23 18:17:00 +0200
commitd84d78d2d26c4cf3cdd89c8a30fcb602b2909cb0 (patch)
tree364c2874ff63a92cb5a52e8b5f3f7f8b1b60e577 /libar2simplified_decode_r.3
parentImprove srand seed (diff)
downloadlibar2simplified-d84d78d2d26c4cf3cdd89c8a30fcb602b2909cb0.tar.gz
libar2simplified-d84d78d2d26c4cf3cdd89c8a30fcb602b2909cb0.tar.bz2
libar2simplified-d84d78d2d26c4cf3cdd89c8a30fcb602b2909cb0.tar.xz
Fix critical bug for automatic salt generation1.1.2
If getrandom(3) generated bytes with the highest bit set and (char) is (signed char) (ones' or two's complement is used), those bytes would become negative indices, rather than be inside [0, 64), causing random data to be writting into the salt. Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libar2simplified_decode_r.3')
0 files changed, 0 insertions, 0 deletions