summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <>2022-06-28 19:44:28 +0000
committerjsing <>2022-06-28 19:44:28 +0000
commit8705fa453d4cc966cbe069c41ff6fda3ab038581 (patch)
tree49119ef2899ea30bdf9890fb1dd0fd5ae2e274be /src/lib/libssl/ssl_locl.h
parent4b57b59ced3d3988203fa4192fa308ecd157c506 (diff)
downloadopenbsd-8705fa453d4cc966cbe069c41ff6fda3ab038581.tar.gz
openbsd-8705fa453d4cc966cbe069c41ff6fda3ab038581.tar.bz2
openbsd-8705fa453d4cc966cbe069c41ff6fda3ab038581.zip
Negate unsigned then cast to signed.
Avoid undefined behaviour by negating the unsigned value, before casting to int64_t, rather than casting to int64_t then negating. Fixes oss-fuzz #48499 ok tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
0 files changed, 0 insertions, 0 deletions