summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2023-07-05 17:30:14 +0000
committertb <>2023-07-05 17:30:14 +0000
commit3e3c527fc69ce89da1f756006b2b9d3023306411 (patch)
tree2308241780607b1b4aad110bdd6add6ac866ef7c /src/lib
parent2a76217befc26467e87c42042da9454d58534279 (diff)
downloadopenbsd-3e3c527fc69ce89da1f756006b2b9d3023306411.tar.gz
openbsd-3e3c527fc69ce89da1f756006b2b9d3023306411.tar.bz2
openbsd-3e3c527fc69ce89da1f756006b2b9d3023306411.zip
Avoid undefined behavior in tlsexttest
An empty array cannot be initialized and it is an incomplete type, so the sizeof() operator can't be applied to it. Therefore initialize it with a zero byte and replace sizeof() use with lengths. Slightly tweaked version of a patch by inoguchi in portable. Discussed with bcook, beck, kettenis
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions