]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-dcrypt: test-stream.c - Remove pointer arithmetic in test_read_garbage()
authorMartti Rannanjärvi <martti.rannanjarvi@open-xchange.com>
Wed, 6 Apr 2022 17:13:24 +0000 (20:13 +0300)
committerMartti Rannanjärvi <martti.rannanjarvi@open-xchange.com>
Wed, 6 Apr 2022 19:20:00 +0000 (22:20 +0300)
commite8868a39dc9893972245b7e2b9dd886f4e119100
tree4772f92fef4a17c64552689470d577b8a1d54b58
parentd5d5dce73c76cbf48f67a19dab801d3ece047209
lib-dcrypt: test-stream.c - Remove pointer arithmetic in test_read_garbage()

Something is wrong with the pointer arithmetic given to random_fill(),
and easiest is to remove it altogether. This fixes a valgrind complaint
on use of uninitialized value.
src/lib-dcrypt/test-stream.c