[Kamailio-Devel] [ openser-Bugs-2753152 ] null pointer dereference in nhelper_funcs.c (Kamailio 1.5.0)
SourceForge.net
noreply at sourceforge.net
Wed Apr 29 11:01:03 CEST 2009
Bugs item #2753152, was opened at 2009-04-11 14:30
Message generated for change (Settings changed) made by henningw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2753152&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.5.x
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Henning Westerholt (henningw)
Summary: null pointer dereference in nhelper_funcs.c (Kamailio 1.5.0)
Initial Comment:
Null pointer dereference occurs frequently in nhelper_funcs.c, line 172 as msg->content_length is null.
Kamailio version 1.5.0.
Backtrace and contents of *msg attached.
----------------------------------------------------------------------
Comment By: Henning Westerholt (henningw)
Date: 2009-04-23 11:52
Message:
Ok, thank for the reply. I'll then commit this change to the 1.5 branch and
master git tree.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-04-22 23:15
Message:
Yes, it helped. I used similar workaround before. Unfortunately some
devices send headers without Content-length but now these don't make the
daemon crash anymore. Thank you.
----------------------------------------------------------------------
Comment By: Henning Westerholt (henningw)
Date: 2009-04-22 09:43
Message:
Do you was able to test the patch?
----------------------------------------------------------------------
Comment By: Henning Westerholt (henningw)
Date: 2009-04-14 14:54
Message:
Hi,
thanks for the report. I've added a small patch against 1.5.0 that should
check for the null-pointer condition you observed. Would be great if you
could test if this fixes the problem for you.
Henning
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2753152&group_id=139143
More information about the Devel
mailing list