]> git.ipfire.org Git - thirdparty/pdns.git/commit
Always check sscanf's return value 9519/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 24 Sep 2020 14:17:58 +0000 (16:17 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 24 Sep 2020 14:17:58 +0000 (16:17 +0200)
commit1817fef693756bf1fc5bc7e0ffa5d5d606df28cb
tree07ebe4ef8bfae8f0ce4d189579b0bcca07e72e71
parent7ef87dff240c90b4b9446e92375b42d4604846b3
Always check sscanf's return value

These remaining cases are not in any way a security issue since the
variables are initialized before the call. This mostly improves the
reporting, and make sure we fail earlier.
ext/yahttp/yahttp/reqresp.cpp
pdns/misc.cc
pdns/rcpgenerator.cc
pdns/test-zoneparser_tng_cc.cc
pdns/zoneparser-tng.cc