]> git.ipfire.org Git - thirdparty/bind9.git/commit
Silence uninitialized value false positives
authorMark Andrews <marka@isc.org>
Wed, 8 Mar 2023 04:16:44 +0000 (15:16 +1100)
committerMark Andrews <marka@isc.org>
Wed, 8 Mar 2023 22:40:03 +0000 (22:40 +0000)
commit0045b2450002afe8e720a709576037726f57226b
treed52fe826c6d07ca6177ec4ec7379ce58a164998d
parent700d5f6b0b0a0d4393869bf4423949f4d420bdd4
Silence uninitialized value false positives

In base32_decode_char the GCC 12 static analyser fails to determine
that ctx->val[1], ctx->val[3], ctx->val[4] and ctx->val[6] are
assigned values by the previous call to base32_decode_char.  Initialise
ctx->val to zeros when initalising the rest of ctx to silence the
false positive.
lib/isc/base32.c