]> git.ipfire.org Git - thirdparty/unbound.git/commit
- Fix unittest valgrind false positive uninitialised value report,
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 16 Aug 2019 10:18:23 +0000 (12:18 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 16 Aug 2019 10:18:23 +0000 (12:18 +0200)
commitd8a8730cac0eef3f3a7aff1672ed129d91ffaf22
treee24437ad513bf97b197256ca343207b012ce601f
parent0532cdd357170803f1d40ccd1ddbb142700bf99e
- Fix unittest valgrind false positive uninitialised value report,
  where if gcc 9.1.1 uses -O2 (but not -O1) then valgrind 3.15.0
  issues an uninitialised value for the token buffer at the str2wire.c
  rrinternal_get_owner() strcmp with the '@' value.  Rewritten to use
  straight character comparisons removes the false positive.  Also
  valgrinds --expensive-definedness-checks=yes can stop this false
  positive.
doc/Changelog
sldns/str2wire.c