summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/stack/stack.c
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2018-03-31 17:09:56 +0000
committerpatrick <patrick@openbsd.org>2018-03-31 17:09:56 +0000
commitdba7b4a824d02f04065d4636614a806b64be6cf6 (patch)
treefc8ebb8728a3b79ec3ed5fd81a9658b4c145732b /lib/libcrypto/stack/stack.c
parentmvtemp(4) (diff)
downloadwireguard-openbsd-dba7b4a824d02f04065d4636614a806b64be6cf6.tar.xz
wireguard-openbsd-dba7b4a824d02f04065d4636614a806b64be6cf6.zip
Stop converting UDP and IP header values from network endianness to host
endianness for convenience reasons. Especially in code pathes like TFTP where the source port is read from the received UDP packet and used as destination port in a new UDP packet this can be very harmful. Luckily this issue has had no effect on our architectures since they never use any of the code paths that could be harmful. ok visa@
Diffstat (limited to 'lib/libcrypto/stack/stack.c')
0 files changed, 0 insertions, 0 deletions