summaryrefslogtreecommitdiffstats
path: root/regress/usr.bin/ssh/unittests/utf8/tests.c
diff options
context:
space:
mode:
authoreric <eric@openbsd.org>2017-02-18 22:25:13 +0000
committereric <eric@openbsd.org>2017-02-18 22:25:13 +0000
commit193137085330df8d6effbb7aaf3b463669d97084 (patch)
tree32ed8fd3a400ec14441288ba5d0a429cb2452206 /regress/usr.bin/ssh/unittests/utf8/tests.c
parentAdd NULL tests to wrterror() to avoid a NULL deref when called from (diff)
downloadwireguard-openbsd-193137085330df8d6effbb7aaf3b463669d97084.tar.xz
wireguard-openbsd-193137085330df8d6effbb7aaf3b463669d97084.zip
Use more specific error codes for invalid packets.
In particular, truncated packets without the TC flag set (non-compliant server sending too large packets) now fail with EOVERFLOW instead of EINVAL, so the TCP fallback mechanism can work. feedback and ok krw@ jca@ benno@
Diffstat (limited to 'regress/usr.bin/ssh/unittests/utf8/tests.c')
0 files changed, 0 insertions, 0 deletions