Fix type conversions, add some checks #3783

merged 1 commit into from Apr 27, 2016


None yet

2 participants


Fix some warnings returned by the g++/clang++ when using additional flags (-Wconversion, -Wshadow, -Wsign-compare mostly).
Add more safety checks around mem_/str_ function calls.

@rgacogne rgacogne Fix type conversions, add some checks
There is no known bug involved, only hardening.
@ahupowerdns ahupowerdns merged commit 358f7aa into PowerDNS:master Apr 27, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
@rgacogne rgacogne deleted the rgacogne:type-conversion-fixes branch Apr 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment