CID 316514: Uninitialized variables (UNINIT)
*** CID 316514: Uninitialized variables (UNINIT)
/lib/lwres/lwconfig.c: 320 in lwres_conf_parsenameserver()
314 return (LWRES_R_FAILURE); /* Extra junk on line. */
315
316 res = lwres_create_addr(word, &address, 1);
317 if (res == LWRES_R_SUCCESS &&
318 ((address.family == LWRES_ADDRTYPE_V4 && ctx->use_ipv4 == 1) ||
319 (address.family == LWRES_ADDRTYPE_V6 && ctx->use_ipv6 == 1))) {
>>> CID 316514: Uninitialized variables (UNINIT)
>>> Using uninitialized value "address". Field "address.link" is uninitialized.
320 confdata->nameservers[confdata->nsnext++] = address;
321 }
322
323 return (LWRES_R_SUCCESS);
324 }
325