Up to [local] / src / usr.bin / openssl
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_7_2
Revision 1.54 / (download) - annotate - [select for diffs], Mon Dec 6 11:06:58 2021 UTC (2 years, 5 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1
Changes since 1.53: +5 -5 lines
Diff to previous 1.53 (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