[Serusers] Damaged message body

Bogdan Pintea pintea at iptego.de
Fri Nov 2 20:37:29 CET 2007


Stefan.Brozinski at materna.de wrote:
> Hello everybody
>
> there is a bug in SER that removes the last byte from a message body if
> this happens to be a binary zero.
>
> This may be the case when the Content-Type is something binary (i.e.
> *not* using "Content-Type: text/something").
>
> The bad code is in udp_server.c. It is present in SER 0.9.x a well as in
> 2.0. I have reported it in the bug tracker as SER-324 and attached a
> comment which points out the bad section of the code.
>
> How shall I proceed to fix this bug?
>   
Try adding -DNO_ZERO_CHECKS to the DEFS list, into your Makefile.defs
and recompile. This option is old enough to work with all SERs you
mentioned above.


Bogdan.
> Best regards
> Stefan
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>   


-- 
Bogdan Pintea

iptego GmbH  -  VoIP Security
http://www.iptego.de




More information about the sr-users mailing list