From: Peter van Dijk Date: Thu, 9 Jun 2016 07:22:00 +0000 (+0200) Subject: add warning for vigilant valgrind users X-Git-Tag: auth-4.0.0-rc1~2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25ba7344cf96c6e5906ee6a26714ba16560120d0;p=thirdparty%2Fpdns.git add warning for vigilant valgrind users --- diff --git a/pdns/misc.cc b/pdns/misc.cc index c2b796921f..bca2bbd80e 100644 --- a/pdns/misc.cc +++ b/pdns/misc.cc @@ -826,6 +826,9 @@ Regex::Regex(const string &expr) throw PDNSException("Regular expression did not compile"); } +// if you end up here because valgrind told you were are doing something wrong +// with msgh->msg_controllen, please refer to https://github.com/PowerDNS/pdns/pull/3962 +// first. void addCMsgSrcAddr(struct msghdr* msgh, void* cmsgbuf, const ComboAddress* source, int itfIndex) { struct cmsghdr *cmsg = NULL;