- Fix cloned ts_transaction pointer comparison to check for
NULL rather than less than zero. The latter doesn't make
sense for an allocated pointer.
The commit also ensure that the function returns with an error in the case of a NULL
cloned pointer so that it's not later dereferenced.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/335
-- Commit Summary --
* tsilo: Fix pointer comparison in ts_set_tm_callbacks
-- File Changes --
M modules/tsilo/ts_handlers.c (5)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/335.patch
https://github.com/kamailio/kamailio/pull/335.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/335