New commits: commit 2819a96ab86984b935088cf49a17229a54a90f14 Author: D. Hugh Redelmeier <h...@mimosa.com> Date: Mon Dec 6 12:34:52 2021 -0500
enumcheck: placate Coverity Scan; eliminate one heap use Coverity didn't see that a second call to strchr couldn't yield NULL if an earlier call with the same arguments didn't yield NULL. Eliminating the second call should fix it. The code duplicated a string into the heap in order to truncate it. We eliminated the need for a copy by using length-bounded string operations. _______________________________________________ Swan-commit mailing list Swan-commit@lists.libreswan.org https://lists.libreswan.org/mailman/listinfo/swan-commit