[OpenSIPS-Devel] [OpenSIPS/opensips] 2d1e4a: presence_dialoginfo: Fix bounds checking by using ...

Walter Doekes walter+github at wjd.nu
Wed Mar 26 19:02:43 CET 2014


  Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2d1e4a8706cf256b2f0883e457d9598d2420399e
      https://github.com/OpenSIPS/opensips/commit/2d1e4a8706cf256b2f0883e457d9598d2420399e
  Author: Walter Doekes <walter+github at 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)




More information about the Devel mailing list