What were you trying to do that didn't work?
Error: UNINIT (CWE-457): dnsmasq-2.85/src/edns0.c:272: var_decl: Declaring variable ""encode"" without initializer. dnsmasq-2.85/src/edns0.c:289: uninit_use_in_call: Using uninitialized value ""*encode"" when calling ""strlen"". # 287| } # 288| # 289|-> return add_pseudoheader(header, plen, limit, PACKETSZ, EDNS0_OPTION_NOMDEVICEID, (unsigned char *)encode, strlen(encode), 0, replace); # 290| } # 291|
Please provide the package NVR for which bug is seen:
How reproducible:
Steps to reproduce
Expected results
Actual results
- is duplicated by
-
RHEL-30803 dnsmasq SAST: Error: UNINIT (CWE-457): dnsmasq-2.85/src/edns0.c:272: var_decl: Declaring variable "encode" without initializer.
- Closed