]> the.earth.li Git - onak.git/commit
Fix issues found by llvm scan-build static analysis
authorJonathan McDowell <noodles@earth.li>
Thu, 14 Sep 2023 06:53:41 +0000 (12:23 +0530)
committerJonathan McDowell <noodles@earth.li>
Thu, 14 Sep 2023 06:53:41 +0000 (12:23 +0530)
commitc0fee41b459cc3822d890bac98882a6c9696c033
tree607b4807bc309fbfcd93596a173b035466f32a28
parente82fd57b92d94287f728e37a3e17aaab11b722b8
Fix issues found by llvm scan-build static analysis

A mixture of fixes: a number of uses of getenv into functions that don't
like NULL, a couple of potential double-setting of config file details
resulting in a brief memory leak, and a true, but not an issue, report
of setting without using of our offset within a packet.
cgi/hashquery.c
getcgi.c
onak.c
sigcheck.c
wotsap.c