Up to [local] / src / usr.bin / openssl
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_7_4
Revision 1.13 / (download) - annotate - [select for diffs], Mon Dec 6 11:06:58 2021 UTC (2 years, 6 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
HEAD
Changes since 1.12: +13 -28 lines
Diff to previous 1.12 (colored)
Clean up a bunch of dead code in s_server.c and s_socket.c 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