[asterisk-bugs] [Asterisk 0015765]: [patch] Incorrect parsing of day range in pbx.c
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Feb 9 06:57:35 CST 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15765
======================================================================
Reported By: hooi
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 15765
Category: Core/PBX
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.2.X
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!): 213789
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-08-23 21:46 CDT
Last Modified: 2010-02-09 06:57 CST
======================================================================
Summary: [patch] Incorrect parsing of day range in pbx.c
Description:
The patch
http://downloads.digium.com/pub/security/AST-2009-005-1.2.diff.txt contains
incorrect sscanf format for parsing start of day and end of day in pbx.c
whereby it assumes "day" is single digit. That is:
sscanf(day, "%1d", &s) should be sscanf(day, "%2d", &s) [at line 4019]
and sscanf(day, "%1d", &e) should be sscanf(day, "%2d", &e) [at line
4029]
This impact on anything that uses ast_build_timing() such as GotoIfTime()
and ExecIfTime().
======================================================================
----------------------------------------------------------------------
(0117883) svnbot (reporter) - 2010-02-09 06:57
https://issues.asterisk.org/view.php?id=15765#c117883
----------------------------------------------------------------------
Repository: asterisk
Revision: 245669
U tags/1.2.38/pbx.c
------------------------------------------------------------------------
r245669 | lmadsen | 2010-02-09 06:57:34 -0600 (Tue, 09 Feb 2010) | 2 lines
Import change from revision 221754 that was missed.
(issue https://issues.asterisk.org/view.php?id=15765)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=245669
Issue History
Date Modified Username Field Change
======================================================================
2010-02-09 06:57 svnbot Note Added: 0117883
======================================================================
More information about the asterisk-bugs
mailing list