<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
<DIV><FONT face=Arial size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><?xml:namespace prefix = o
/><o:p>Another change that was made on my Asterisk 1.2.6 and helped a
lot...</o:p></SPAN></FONT></DIV>
<DIV> </DIV></SPAN>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV><FONT face=Arial color=#0000ff size=2></FONT><FONT
face=Arial size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face="Courier New" size=2><BR>+++
res_features.c 2006-04-13 17:45:43.000000000
-0300<BR>@@ -1439,7 +1439,16
@@<BR>
if (res >= FEATURE_RETURN_PASSDIGITS)
{<BR>
res =
0;<BR>
} else
{<BR>-
ast_frfree(f);<BR>+
if (f->mallocd > 10 || f->mallocd < -10)
{<BR>+
} else if (f->frametype > 100 || f->frametype < -100)
{<BR>+
} else if ((f->mallocd & AST_MALLOCD_DATA) && (f->data)
&& (f->offset < -10000 || f->offset > 10000))
{<BR>+
} else
{<BR>+
ast_frfree(f);<BR>+
}<BR>
break;<BR>
}<BR>
hasfeatures = !ast_strlen_zero(chan_featurecode) ||
!ast_strlen_zero(peer_featurecode);<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></FONT></DIV></BODY></HTML>