diff options
author | tb <> | 2020-05-23 09:02:02 +0000 |
---|---|---|
committer | tb <> | 2020-05-23 09:02:02 +0000 |
commit | b768c5c1492afd22be2c8863695e95abb86e767e (patch) | |
tree | 21a3fe2768e487d453cfb95b21f3e4729753a9d7 /src/lib | |
parent | 600b8d8760845e0bc65bf4bd057ede30af717a4b (diff) | |
download | openbsd-b768c5c1492afd22be2c8863695e95abb86e767e.tar.gz openbsd-b768c5c1492afd22be2c8863695e95abb86e767e.tar.bz2 openbsd-b768c5c1492afd22be2c8863695e95abb86e767e.zip |
Avoid an out-of-bounds array access in the s_server.
It can be triggered by sending a line to stdin while no connection
is open and then connecting a client. The first SSL_write() fails,
sends SSL_ERROR_WANT_* and then causes a segfault deep down in the
tls stack when accessing &(buf[-1]).
ok beck inoguchi
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions