[Kamailio-Devel] [ openser-Bugs-2658723 ] segfault in db_text.dbt_insert

SourceForge.net noreply at sourceforge.net
Mon Mar 16 13:49:35 CET 2009


Bugs item #2658723, was opened at 2009-03-03 20:59
Message generated for change (Comment added) made by henningw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2658723&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Edgar Holleis (ccaracalla)
>Assigned to: Henning Westerholt (henningw)
Summary: segfault in db_text.dbt_insert

Initial Comment:
- happens when inserting a nul-value into a column of type DB_STRING
- only happens if (db_val.nul && db_val.val.string_val == NULL) 
- not sure whether this is in fact a bug or whether the api requires DB_STRINGs of nul to set string_val to "" instead of NULL
- anyway, the fix is simple enough

----------------------------------------------------------------------

>Comment By: Henning Westerholt (henningw)
Date: 2009-03-16 12:49

Message:
Thanks for the patch. Fixed in 1.5 and 1.4 branch, trunk will be fixed by
patch #2665569.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2658723&group_id=139143



More information about the Devel mailing list