[sr-dev] [kamailio] tsilo: Fix pointer comparison in ts_set_tm_callbacks (#335)

Chris Double notifications at github.com
Wed Sep 23 13:41:53 CEST 2015


- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150923/257ed6dc/attachment.html>


More information about the sr-dev mailing list