THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Bayan (bayan)
Attached to Project - sip-router
Summary - Major regression in db_postgres with FS#77 patch
Task Type - Bug Report
Category - Module
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - High
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - The patch for FS#77 that was applied to 1.5 3.0 and master caused a major
regression for other modules using db_postgres. Currently, all queries returning a Text
type result have an extra 0x00 at the end.
For example, in avpops, when avp_db_query() is called and a text field is returned to be
stored in an avp, an extra null (0x00) is saved at the end of the field in the avp. This
means that even results that should be null are giving the avp a value which breaks
conditional statements. This 0x00 also transfers to the SIP message if the result used in
append_hf() which corrupts the SIP message.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=80
You are receiving this message because you have requested it from the Flyspray bugtracking
system. If you did not expect this message or don't want to receive mails in future,
you can change your notification settings at the URL shown above.