[Serusers] Damaged message body

Stefan.Brozinski at materna.de Stefan.Brozinski at materna.de
Fri Nov 2 10:55:11 CET 2007


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?

Best regards
Stefan



More information about the sr-users mailing list