]> git.ipfire.org Git - thirdparty/bind9.git/commit
Clear errno before calling strtol
authorMark Andrews <marka@isc.org>
Wed, 4 Mar 2026 06:51:09 +0000 (17:51 +1100)
committerMark Andrews <marka@isc.org>
Mon, 16 Mar 2026 23:51:37 +0000 (10:51 +1100)
commitd3ffa1f0073899a96e478906fff5af31eba33784
treeaee969791c405f6f466deb3c64a5234686f707dd
parent5932af66c8aecd5b2f90c541f4c09b8560a96982
Clear errno before calling strtol

The previous code was incorrectly clearing errno after calling
strtol but before testing the result rather than clearing it and
then calling strtol so that changes to errno can be correctly
determined.
lib/isc/httpd.c