[asterisk-bugs] [Asterisk 0015556]: Symbol exports for strlcat and strlcpy

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jul 22 13:59:24 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15556 
====================================================================== 
Reported By:                smw1218
Assigned To:                kpfleming
====================================================================== 
Project:                    Asterisk
Issue ID:                   15556
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.25 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-07-22 13:48 CDT
Last Modified:              2009-07-22 13:59 CDT
====================================================================== 
Summary:                    Symbol exports for strlcat and strlcpy
Description: 
Change "2009-03-18 01:55 +0000 [r182802-182808]  Kevin P. Fleming
<kpfleming at digium.com>" limited the global symbols exported from asterisk. 
I would like to request that strl* be added back to the exports so that
modules may use these calls on platforms which don't have native support
(ie. Linux).

Modules that used these calls on 1.4.24 and before are now broken and will
fail with a loader error at startup.

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

---------------------------------------------------------------------- 
 (0108089) tilghman (administrator) - 2009-07-22 13:59
 https://issues.asterisk.org/view.php?id=15556#c108089 
---------------------------------------------------------------------- 
I'm pretty sure that we want you to use ast_copy_string() in preference to
strlcpy, since they do exactly the same thing.  As to strlcat, I'm not sure
whether we want to export that symbol or not. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-22 13:59 tilghman       Note Added: 0108089                          
======================================================================




More information about the asterisk-bugs mailing list