[sr-dev] git:master: Rework fix for the static buffer overflow with the content of the overly long payload types list . Instead of silently truncating the list, use dynamic buffer allocated on heap to keep that list growing it if necessary .

Maxim Sobolev sobomax at sippysoft.com
Fri Jul 3 00:10:17 CEST 2009


Module: sip-router
Branch: master
Commit: 10250c1255a2c25f828726d01cfc64ad6a2906ef
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=10250c1255a2c25f828726d01cfc64ad6a2906ef

Author: sobomax <sobomax at sippysoft.com>
Committer: sobomax <sobomax at sippysoft.com>
Date:   Thu Jul  2 15:02:44 2009 -0700

Rework fix for the static buffer overflow with the content of the overly long payload types list. Instead of silently truncating the list, use dynamic buffer allocated on heap to keep that list growing it if necessary.

---

 modules_s/nathelper/nathelper.c |  232 +++++++++++++++++++++++++++------------
 1 files changed, 162 insertions(+), 70 deletions(-)

Diff:   http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=10250c1255a2c25f828726d01cfc64ad6a2906ef



More information about the sr-dev mailing list