[asterisk-bugs] [DAHDI-linux 0015408]: [patch] Incorrect timing source validation (related to #13954)

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jul 19 10:45:44 CDT 2009


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15408 
====================================================================== 
Reported By:                dferrer
Assigned To:                tzafrir
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   15408
Category:                   tor2
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-06-26 11:32 CDT
Last Modified:              2009-07-19 10:45 CDT
====================================================================== 
Summary:                    [patch] Incorrect timing source validation (related
to https://issues.asterisk.org/view.php?id=13954)
Description: 
Can't set a 4th timing source with tor2, dahdi_cfg fails with this error in
dmesg:

tor2 4: invalid span timing value 4.

This is because a '>=' comparison between lc->sync and SPANS_PER_CARD
(lc->sync = 4, SPANS_PER_CARD = 4). Comparison must be '>' strict to allow
a 4th timing source (SPANS_PER_CARD = 4). 

This commit was added to correct timing source problems and adds the
mentioned '>=' comparison:
r5590 | tzafrir | 2008-12-19 06:39:26 -0600 (Fri, 19 Dec 2008) | 4 lines

Related to https://issues.asterisk.org/view.php?id=13954

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-19 10:45 svnbot         Status                   new => assigned     
2009-07-19 10:45 svnbot         Assigned To               => tzafrir         
2009-07-19 10:45 svnbot         Status                   assigned => resolved
2009-07-19 10:45 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list