<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/usr.bin/openssl/s_socket.c, branch OPENBSD_7_9</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-01-02T13:10:03+00:00</updated>
<entry>
<title>Merge s_apps.h into apps.h</title>
<updated>2025-01-02T13:10:03+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-01-02T13:10:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=615194fc158a5d23d4587eda0dda3c781f62bfad'/>
<id>urn:sha1:615194fc158a5d23d4587eda0dda3c781f62bfad</id>
<content type='text'>
discussed with jsing
</content>
</entry>
<entry>
<title>Clean up a bunch of dead code in s_server.c and s_socket.c</title>
<updated>2021-12-06T11:06:58+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-12-06T11:06:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d41743ea4a2d346f9a3661d5b6f9a056383e90eb'/>
<id>urn:sha1:d41743ea4a2d346f9a3661d5b6f9a056383e90eb</id>
<content type='text'>
jsg's analysis tool flagged a potential double free in do_server().
While this looks like a false positive, we can clean this code up
a little: the host name passed to the callbacks isn't used by either
sv_body() and www_body(), so it can be made local to do_accept()
(an extra variable would not even be needed).  Simplify the callbacks'
signatures accordingly. Remove some commented out linger code that
would never be used again anyway.

ok inoguchi jsg
</content>
</entry>
<entry>
<title>Implement -naccept in the s_server.</title>
<updated>2021-08-29T12:33:15+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-08-29T12:33:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=16345209c2d825357203ff92320bfbd2476391b2'/>
<id>urn:sha1:16345209c2d825357203ff92320bfbd2476391b2</id>
<content type='text'>
doc fixes/ok jmc
ok beck
</content>
</entry>
<entry>
<title>When system calls indicate an error they return -1, not some arbitrary</title>
<updated>2019-06-28T13:35:02+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2019-06-28T13:35:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=835d788017c49be8b4986b0f04686da55f2cd0da'/>
<id>urn:sha1:835d788017c49be8b4986b0f04686da55f2cd0da</id>
<content type='text'>
value &lt; 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
</content>
</entry>
<entry>
<title>Don't leak a strdup()'ed string on error in do_accept().</title>
<updated>2018-08-19T20:07:06+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-08-19T20:07:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a855b40c98811868099b7419205858146204e506'/>
<id>urn:sha1:a855b40c98811868099b7419205858146204e506</id>
<content type='text'>
CID #154702.

input &amp; ok inoguchi, ok mestre on first version
</content>
</entry>
<entry>
<title>Indent labels with a single space so that diff prototypes are more useful.</title>
<updated>2018-02-07T05:47:55+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-02-07T05:47:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6d829832b5c1cafa0527a7c2595749b17b0b8efe'/>
<id>urn:sha1:6d829832b5c1cafa0527a7c2595749b17b0b8efe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove SOCKET_PROTOCOL, a redundant define that was only used once.</title>
<updated>2015-09-10T02:23:29+00:00</updated>
<author>
<name>lteo</name>
<email></email>
</author>
<published>2015-09-10T02:23:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3730b0c1d4819104fc57b53320c5a31c69a8c629'/>
<id>urn:sha1:3730b0c1d4819104fc57b53320c5a31c69a8c629</id>
<content type='text'>
No binary change.

ok millert@ miod@
</content>
</entry>
<entry>
<title>Check return value in openssl(1) s_socket.</title>
<updated>2015-07-20T03:22:25+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-07-20T03:22:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=06914df45236774aeca3d84881da0ab8f1359352'/>
<id>urn:sha1:06914df45236774aeca3d84881da0ab8f1359352</id>
<content type='text'>
Fixes Coverity issue 21655.

ok bcook@
</content>
</entry>
<entry>
<title>Only close descriptor if not already closed.</title>
<updated>2015-07-19T03:28:26+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-07-19T03:28:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=09a8a5849adba3406d2aeabaa5505f868a159bdb'/>
<id>urn:sha1:09a8a5849adba3406d2aeabaa5505f868a159bdb</id>
<content type='text'>
Fixes coverity 78916.

ok miod@ bcook@
</content>
</entry>
<entry>
<title>fix leak, found by coverity, ID 78877</title>
<updated>2015-07-17T20:22:02+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2015-07-17T20:22:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=89d69d600717cb1238452e887f85546f081b84f4'/>
<id>urn:sha1:89d69d600717cb1238452e887f85546f081b84f4</id>
<content type='text'>
ok miod@ jsing@
</content>
</entry>
</feed>
