In this line, _val is used although it was never initialized - which is the bug itself. The solution is, as the Norman mentioned, the version from the trunk.
 
Regards, Daniel
 

T-Mobile Deutschland GmbH
Aufsichtsrat: Hamid Akhavan (Vorsitzender)
Geschäftsführung: Philipp Humm (Sprecher), Thomas Berlemann, Stefan Homeister, Holger Kranzusch, Günther Ottendorfer, Dr. Raphael Kübler, Dr. Steffen Roehn
Handelsregister: Amtsgericht Bonn, HRB 59 19
Sitz der Gesellschaft: Bonn
WEEE-Reg.-Nr.: DE60800328

-----Ursprüngliche Nachricht-----
Von: Will Quan [mailto:sip@voiplabs.net]
Gesendet: Sonntag, 19. August 2007 03:12
An: Norman Brandinger; Frey, Daniel (external)
Cc: users@openser.org
Betreff: [*** Spam ***] RE: AW: [OpenSER-Users] OpenSER 1.2.2 - Problem with database(postgres?)


What about line 575 here:
http://openser.svn.sourceforge.net/viewvc/openser/branches/1.2/modules/postgres/db_res.c?revision=2470&view=markup

Is _val initialized correctly?