diff options
| author | tb <> | 2022-08-15 10:48:45 +0000 |
|---|---|---|
| committer | tb <> | 2022-08-15 10:48:45 +0000 |
| commit | 9f26ac3b2e739359268e4e255f97592ccafe1f89 (patch) | |
| tree | 7421765d11bb68e0eebaf8618fd16487d5f70c3d /src/lib/libc/net | |
| parent | 7034880f5bf50568a6106afb6ec5c2e3725b5a9e (diff) | |
| download | openbsd-9f26ac3b2e739359268e4e255f97592ccafe1f89.tar.gz openbsd-9f26ac3b2e739359268e4e255f97592ccafe1f89.tar.bz2 openbsd-9f26ac3b2e739359268e4e255f97592ccafe1f89.zip | |
Initialize readbytes in BIO_gets()
If the bgets() callback returns <= 0, we currently rely on the user
provided callback to set readbytes, which isn't ideal. This also
matches what's done in BIO_read() and BIO_write().
ok jsing
Diffstat (limited to 'src/lib/libc/net')
0 files changed, 0 insertions, 0 deletions
