<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1451967106467_11309"><br><span></span></div><div id="yui_3_16_0_1_1451967106467_11384"><span id="yui_3_16_0_1_1451967106467_11385">Mich,</span></div><div><span id="yui_3_16_0_1_1451967106467_11385"><br></span></div><div><span id="yui_3_16_0_1_1451967106467_11385">Yes. My quick tests show that beta 4 works as intended. <br></span></div><div id="yui_3_16_0_1_1451967106467_11598"><span id="yui_3_16_0_1_1451967106467_11385">Any suggestions to measure performance improvements against 5.28?</span></div><div id="yui_3_16_0_1_1451967106467_11599"><br><span id="yui_3_16_0_1_1451967106467_11385"></span></div><div id="yui_3_16_0_1_1451967106467_11600"><span id="yui_3_16_0_1_1451967106467_11385">Regards,</span></div><div id="yui_3_16_0_1_1451967106467_11593"><span id="yui_3_16_0_1_1451967106467_11385">Jose</span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Tuesday, January 5, 2016 4:48 AM, Michal Trojnara <Michal.Trojnara@mirt.net> wrote:<br></font></div> <br><br> <div class="y_msg_container">-----BEGIN PGP SIGNED MESSAGE-----<br clear="none">Hash: SHA256<br clear="none"><br clear="none">On 05.01.2016 05:46, Jose Alf. wrote:<br clear="none">> The following patch fixed the issue for me:<br clear="none">> <br clear="none">> --- options.c.old Tue Dec 22 18:09:39 2015 +++ options.c<br clear="none">> Mon Jan 04 23:14:29 2016 @@ -272,8 +272,11 @@ } else #endif { -<br clear="none">> name=arg1; - type=CONF_FILE; + if (arg1) + { +<br clear="none">> name=arg1; + type=CONF_FILE; + } }<br clear="none">> <br clear="none">> #ifdef HAVE_REALPATH<br clear="none"><br clear="none">Thank you for reporting this issue. I made a really dumb mistake.<br clear="none"><br clear="none">My patch (restoring the intended control flow) is:<br clear="none"><br clear="none">- --- a/src/options.c<br clear="none">+++ b/src/options.c<br clear="none">@@ -227,6 +227,9 @@ int options_cmdline(char *arg1, char *arg2) {<br clear="none"> char *name;<br clear="none"> CONF_TYPE type;<br clear="none"><br clear="none">+#ifdef USE_WIN32<br clear="none">+ (void)arg2; /* squash the unused parameter warning */<br clear="none">+#endif<br clear="none"> if(!arg1) {<br clear="none"> name=<br clear="none"> #ifdef CONFDIR<br clear="none">@@ -258,9 +261,7 @@ int options_cmdline(char *arg1, char *arg2) {<br clear="none"> log_flush(LOG_MODE_INFO);<br clear="none"> return 2;<br clear="none"> } else<br clear="none">- -#ifdef USE_WIN32<br clear="none">- - (void)arg2; /* squash the unused parameter warning */<br clear="none">- -#else<br clear="none">+#ifndef USE_WIN32<br clear="none"> if(!strcasecmp(arg1, "-fd")) {<br clear="none"> if(!arg2) {<br clear="none"> s_log(LOG_ERR, "No file descriptor specified");<br clear="none"><br clear="none">I have uploaded stunnel-5.29b4 to <a shape="rect" href="https://www.stunnel.org/downloads.html" target="_blank">https://www.stunnel.org/downloads.html</a><br clear="none"><br clear="none">Best regards,<br clear="none"> Mike<br clear="none">-----BEGIN PGP SIGNATURE-----<br clear="none">Version: GnuPG v2<br clear="none"><br clear="none">iQIcBAEBCAAGBQJWi5FeAAoJEC78f/DUFuAUz+0QALconnbPd1NM0gihc2Jv8vUN<br clear="none">2EjpUJtb+TsqwiSMDx1/5dPflKr6iE8XbdGvgBKDuW3+4yGd5zKflIITe3ZfrbUa<br clear="none">qniSCOFgbAHONPwyUbFgcOaXuUzYsfNIg72I10+Jlk5F6QS9wLa0I1w4tgTOab6F<br clear="none">HH0MXMmxprEQQ2Bn01Hd5nkGEECDWtTrkO3PuuoQ4AQ7u82BtRBcW5hdChx9UEao<br clear="none">Gsg88Rj6wf4LYpibWj1cZTuEvC/QVuwLIi1ah0nipxTW6/dgklITvR7naw/styDn<br clear="none">VAbAtVfvI/Kegx6zFTwnMGp+7BpANpLQsWgfDJCz9snbqSGj0N8UPwKWzudJtoCH<br clear="none">WMBQTvhqKjAJLib936ddpCKIyuf4lWlC84R5qwnJE569PAWXkZzuhThQ3O3Z1Low<br clear="none">UhtKT3bKwLvLkxCPOwyxY6WUuU9ULssjEar9vfo77JKUeqa7WDgWM2UBf32YVSji<br clear="none">myFQQtHMJjPCinXrVuxstqec4BFCQRQ7qtNYNrLE71fWX+E/aKwTNDf1otYXtPhc<br clear="none">/Dvh66BpuBwWK9+DuCpKnkuiLuekz1oHOTneEgcy0iLfQ7Jq81ERO0pyLWJTYGC4<br clear="none">rpWlzVffvPmMcKxg8rUe4Juthj6QjE49Rm42sQHAgTCjeZazn+9zyxtmUrTm00Ri<br clear="none">QrIKYx4BsLYvMdQM40Ts<br clear="none">=itMk<div class="yqt4604203495" id="yqtfd21647"><br clear="none">-----END PGP SIGNATURE-----<br clear="none">_______________________________________________<br clear="none">stunnel-users mailing list<br clear="none"><a shape="rect" ymailto="mailto:stunnel-users@stunnel.org" href="mailto:stunnel-users@stunnel.org">stunnel-users@stunnel.org</a><br clear="none"><a shape="rect" href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users" target="_blank">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a><br clear="none"></div><br><br></div> </div> </div> </div></div></body></html>