Closed gperciva closed 3 years ago
I imported these into libcperciva's coverity-scan
https://github.com/Tarsnap/libcperciva/tree/coverity-scan
and coverity reports 0 problems with libcperciva.
So I'm confident that this PR (in kivaloo) is ready for merging; then I'll import it to libcperciva for real.
I'd normally make this change in libcperciva first, but since the mistake in a617893 occurred in this repository, I figured I should fix it here.
The coverity-scan for kivaloo shows that this resolves the warning, although there's a bunch of other warnings. The coverity-scan for libcperciva would be a better test, but I can't trigger that again until midnight GMT.
It's probably worth waiting until then, because I've messed up this fix once already, but I figured that I should get it up now so that you can glance at it this afternoon.