[OpenSIPS-Devel] [ opensips-Bugs-2091771 ] presence module segfault if db_url not set

SourceForge.net noreply at sourceforge.net
Tue Sep 9 10:05:56 CEST 2008


Bugs item #2091771, was opened at 2008-09-03 23:00
Message generated for change (Settings changed) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2091771&group_id=232389

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: 1.4.x
Status: Open
>Resolution: Accepted
>Priority: 7
Private: No
Submitted By: Kobi Eshun (ekobi)
>Assigned to: Anca Vamanu (anca_vamanu)
Summary: presence module segfault if db_url not set

Initial Comment:
In my testing, get_db_subs_auth() crashes when it attempts to invoke pa_dbf.use_table(), which is not defined if db_url parameter has not been set. I see similar code in many other places in the presence module.

The workaround is obviously to always set the db_url parameter. Cheers,
--
kobi

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2091771&group_id=232389



More information about the Devel mailing list