diff options
| author | Sam Varshavchik | 2015-06-27 13:26:50 -0400 |
|---|---|---|
| committer | Sam Varshavchik | 2015-06-27 13:26:50 -0400 |
| commit | 174541a2e670c0ee70fd2fb3116209f96ecc173e (patch) | |
| tree | ab31a41aca11ccad42c120ff0abe7e32fd29762f /rfc1035/rfc1035search.c | |
| parent | 67b9324b4d78f3fc5cb92e0b024c1c5cfca5a39b (diff) | |
| download | courier-libs-174541a2e670c0ee70fd2fb3116209f96ecc173e.tar.bz2 | |
Fix some bounds checking issues. Added ESMTP_PREFER_IPV6_MX setting.
Diffstat (limited to 'rfc1035/rfc1035search.c')
| -rw-r--r-- | rfc1035/rfc1035search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rfc1035/rfc1035search.c b/rfc1035/rfc1035search.c index 8e69ad4..019f521 100644 --- a/rfc1035/rfc1035search.c +++ b/rfc1035/rfc1035search.c @@ -154,7 +154,7 @@ int recursion_count=10; namebuf, qtype, qclass)) == 0) return (-1); - if (x_flags && RFC1035_X_RANDOMIZE && + if ((x_flags & RFC1035_X_RANDOMIZE) && (*ptr)->rcode == RFC1035_RCODE_NOERROR) rfc1035_rr_rand(*ptr); |
