[sr-dev] git:master: Rework fix for the static buffer overflow with the content of

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


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

Author: sobomax <sobomax at sippysoft.com>
Committer: sobomax <sobomax at sippysoft.com>
Date:   Thu Jul  2 14:12:45 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_k/nathelper/nathelper.c |  253 ++++++++++++++++++++++++++------------
 1 files changed, 173 insertions(+), 80 deletions(-)

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



More information about the sr-dev mailing list