[asterisk-bugs] [Asterisk 0018759]: [patch] Null values in format strings lead to segfault
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Mar 18 11:26:49 CDT 2011
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18759
======================================================================
Reported By: bklang
Assigned To: jrose
======================================================================
Project: Asterisk
Issue ID: 18759
Category: Core/Portability
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: SVN
JIRA: SWP-3039
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): 1.8
SVN Revision (number only!): 306529
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2011-02-07 07:32 CST
Last Modified: 2011-03-18 11:26 CDT
======================================================================
Summary: [patch] Null values in format strings lead to
segfault
Description:
This is an issue I have reported in several other places and which have
been fixed. Instead of opening a single ticket for these three I am
putting them into a single ticket.
res/res_jabber.c:2493 found->description
channels/chan_sip.c:23429 authpeer->name
res/res_fax.c:1770
The first two I have patched trivially and attached it here. For
res_fax.c I'm not sure which variable was null and whether protection
should be applied to multiple variables so I do not have a patch for this.
======================================================================
----------------------------------------------------------------------
(0133012) jrose (manager) - 2011-03-18 11:26
https://issues.asterisk.org/view.php?id=18759#c133012
----------------------------------------------------------------------
@bklang: Could I ask you to try out the latest version of trunk later on
to see if this fixes your fax issues? Also, I applied the rest of your
patches with some very minor changes. Thanks for your help.
Also, if it is still an issue, try manually setting the channel variable
"LOCALSTATIONID" in the dialplan right before you start the fax request.
Matt Nicholson is currently theorizing that this is what was causing the
problem. Of course, any output and dialplan information would be
appreciated in dealing with this bug.
Issue History
Date Modified Username Field Change
======================================================================
2011-03-18 11:26 jrose Note Added: 0133012
======================================================================
More information about the asterisk-bugs
mailing list