On 06-02 16:25, Klaus Darilion wrote:
My experience is the following:
Line 109 in t_msgbuilder.c:
len += USER_AGENT_LEN + CRLF_LEN;
==> ser crashes when I send the special invite!
*len += USER_AGENT_LEN + CRLF_LEN;
==> ser doesn't crash but logs this in /val/log/messages:
Feb 6 15:48:24 obelix /usr/local/sbin/ser[6985]: ERROR:
t_build_and_send_CANCEL: cannot allocate memory
hope my explanation is a little bit clearer now:
i also downloaded
ftp://ftp.berlios.de/pub/ser/0.8.10/src/ser-0.8.10_src.tar.gz
and this tarball contains: *len += USER_AGENT_LEN + CRLF_LEN;
That's another line, look at line 103:
len+=((hdr->body.s+hdr->body.len ) - hdr->name.s ) +
CRLF_LEN;
This should be changed to:
*len+=((hdr->body.s+hdr->body.len ) - hdr->name.s ) +
CRLF_LEN;
regards, Jan.