diff options
author | 2019-09-28 16:12:13 +0000 | |
---|---|---|
committer | 2019-09-28 16:12:13 +0000 | |
commit | dc01f72605a6fe46dead578ec07df9246b6696c7 (patch) | |
tree | 574323bb7e57b1d1add02a516811a3bb9809007d /libexec | |
parent | Xr random 4 in a better way (diff) | |
download | wireguard-openbsd-dc01f72605a6fe46dead578ec07df9246b6696c7.tar.xz wireguard-openbsd-dc01f72605a6fe46dead578ec07df9246b6696c7.zip |
It is better style if path[] buffers are PATH_MAX, rather than
shorter. This subtly reduces the impact of truncation effects, as the
truncation is less likely, and if it exists it may be detected
directly by the system call with a proper error check. (this strange
justification is sadly valid in a world where people moan oh so loudly
about truncation but then don't audit and fix all instances)
ok kettenis
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions