Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2d1e4a8706cf256b2f0883e457d9598d2420399e
      
https://github.com/OpenSIPS/opensips/commit/2d1e4a8706cf256b2f0883e457d9598d2420399e
  Author: Walter Doekes <walter+git...@wjd.nu>
  Date:   2014-03-26 (Wed, 26 Mar 2014)

  Changed paths:
    M modules/presence_dialoginfo/notify_body.c

  Log Message:
  -----------
  presence_dialoginfo: Fix bounds checking by using a helper function.

Reported by: dsandras
> About the bound checking error, the code was cut&pasted from another
> place in the same file where the same error is still present:
> ...

Also I replaced a heap str with a stack one in build_dialoginfo. This
one wasn't freed either unless an error condition was hit.

(cherry picked from commit 6d058ec495c2faa015b24f412e2fe1b55526657e)


_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to