[Serusers] XLOG buffer overflow help

Michal Matyska michal at iptel.org
Fri Feb 16 17:01:43 CET 2007


Change modules/xlog/xl_lib.c line containing
#define LOCAL_BUF_SIZE  256 
to
#define LOCAL_BUF_SIZE  1024

recompile and it should work.

Michal

On Fri, 2007-02-16 at 14:57 +0000, Nuno Ribeiro wrote:
> Hello!
> 
> I'm trying to add an character in the final length of  an avp. The
> avp  that I need  to modify contain all SDP message.
> The script code that I'm using is the following:
> 
>    xlset_attr("$sdpnew","%$sdp;")
> 
> 
>  XLOG:xl_print_log: buffer overflow -- increase the buffer size...
>  2(8682) Pos: 0, Add: 664, Len: 256, Buf:
>  2(8682) xl_printstr: Error while formating result
>  2(8682) ERROR: avp.c:807: xlset_attr:Error while expanding xl_format
> 
> How can I overcome this problem? If there is another way to do this,
> please tell me
> 
> Best regards,
> 
> -- 
> Nuno Ribeiro 
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list