[asterisk-bugs] [Asterisk 0016209]: [patch] When using ooh323h it is impossible to call when number have more than 3 number...

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Dec 30 16:21:40 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16209 
====================================================================== 
Reported By:                nevenchannyy
Assigned To:                may213
====================================================================== 
Project:                    Asterisk
Issue ID:                   16209
Category:                   Addons/chan_ooh323
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-535 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-09 06:43 CST
Last Modified:              2009-12-30 16:21 CST
====================================================================== 
Summary:                    [patch] When using ooh323h  it is impossible to call
when number have more than 3 number...
Description: 
When using ooh323h  it is impossible to call when number have more than 3
number...


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

---------------------------------------------------------------------- 
 (0115868) may213 (manager) - 2009-12-30 16:21
 https://issues.asterisk.org/view.php?id=16209#c115868 
---------------------------------------------------------------------- 
nevenchannyy, i think it will more correct 
to change ast_copy_string(tmp, data, strlen(data)+1);
to ast_copy_string(tmp, data, sizeof(tmp));

anyway we can't copy data from one buffer to another and limit data length
 based on source not destionation buffer size.
please provide another patch.

this bug is fixed on trunk with "reworked" version of chan_ooh323 but
patch is required for older which included in 1.4 and 1.6. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-30 16:21 may213         Note Added: 0115868                          
======================================================================




More information about the asterisk-bugs mailing list