You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation of res_ninit() is inconsistent across different operating systems but generally the caller must zero some or all of the argument structure before calling res_ninit()
This is done consistently in opendmarc_spf_dns.c (memset before res_ninit) but not in opendmarc_dns.c:
The documentation of
res_ninit()
is inconsistent across different operating systems but generally the caller must zero some or all of the argument structure before callingres_ninit()
This is done consistently in
opendmarc_spf_dns.c
(memset before res_ninit) but not inopendmarc_dns.c
:OpenDMARC/libopendmarc/opendmarc_dns.c
Lines 205 to 207 in 9cebf72
I got a burst of crashes a few hours after enabling opendmarc:
evidently due to non-zero stack garbage in the memory used for
resp
. Fix is straightforward:The text was updated successfully, but these errors were encountered: