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
Stefan.Brozinski@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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers