diff options
author | 2020-06-08 03:22:23 +0000 | |
---|---|---|
committer | 2020-06-08 03:22:23 +0000 | |
commit | 66ecf2e2f524653126dce17a447a43b26ee90abb (patch) | |
tree | 6a8fee9f0393be71d6a1e120eae7db8cbb0adb28 /sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c | |
parent | Add ne(4) which is supported on luna88k from OpenBSD 6.7. (diff) | |
download | wireguard-openbsd-66ecf2e2f524653126dce17a447a43b26ee90abb.tar.xz wireguard-openbsd-66ecf2e2f524653126dce17a447a43b26ee90abb.zip |
The errcheck() function treats an errno of ERANGE or EDOM as something
to report, so make sure errno is set to zero before invoking a
function to check so that a previous such errno value won't result
in a false positive. This could happen simply due to input line fields
that looked enough like floating-point input to trigger ERANGE.
Problem noted by Jordan Geoghegan (jordan (at) geoghegan.ca), with
clue from Ze' Loff (zeloff (at) zeloff.org)
ok millert@
Diffstat (limited to 'sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions