<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi,<br>
<br>
Thank you for your report!<br>
<br>
Could you please open a bug report on GITHUB, so our developers
can look into a fix it asap ?<br>
<br>
Thank and regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 02.10.2015 18:27, sevpal wrote:<br>
</div>
<blockquote cite="mid:EF7637468F1142C394F09D65EB6094B9@LenovoPC"
type="cite">
<div dir="ltr">
<div style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR:
#000000">
<div style="FONT-SIZE: small; FONT-FAMILY: 'Calibri';
FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal;
TEXT-DECORATION: none; DISPLAY: inline">
<div dir="ltr">
<div style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri';
COLOR: #000000">
<div>Hi list, there seems to be a bit of inconsistency
when using a statement such as this:</div>
<div>...</div>
<div>exec(“/usr/local/sbin/script.sh”,,”$var(out)”,”$var(err)”);</div>
<div>...</div>
<div> </div>
<div> </div>
<div>if $var(err) had a value from another process it
could hold contents from memory. Not a big issue, but
when performing a xlog() with those variables,
sometimes values show up from unrelated requests. This
can be misleading.</div>
<div> </div>
<div>I think if the function is successful, then
$var(err) and $var(out) should be set to empty.</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>