Blame SOURCES/stunnel-5.56-coverity.patch

270793
diff -up stunnel-5.48/src/str.c.coverity stunnel-5.48/src/str.c
270793
--- stunnel-5.48/src/str.c.coverity	2018-07-02 23:30:10.000000000 +0200
270793
+++ stunnel-5.48/src/str.c	2018-09-04 17:24:08.949928906 +0200
270793
@@ -165,6 +165,7 @@ char *str_vprintf(const char *format, va
270793
     for(;;) {
270793
         va_copy(ap, start_ap);
270793
         n=vsnprintf(p, size, format, ap);
270793
+        va_end(ap);
270793
         if(n>-1 && n<(int)size)
270793
             return p;
270793
         if(n>-1)                /* glibc 2.1 */
270793
diff -up stunnel-5.48/src/stunnel.c.coverity stunnel-5.48/src/stunnel.c
270793
--- stunnel-5.48/src/stunnel.c.coverity	2018-07-02 23:30:10.000000000 +0200
270793
+++ stunnel-5.48/src/stunnel.c	2018-09-04 17:24:08.949928906 +0200
270793
@@ -364,7 +364,6 @@ NOEXPORT int accept_connection(SERVICE_O
270793
 #endif
270793
     if(create_client(fd, s, alloc_client_session(opt, s, s))) {
270793
         s_log(LOG_ERR, "Connection rejected: create_client failed");
270793
-        closesocket(s);
270793
 #ifndef USE_FORK
270793
         service_free(opt);
270793
 #endif