[Asterisk-Dev] [RFC] strncpy -> ast_copy_string

Kevin P. Fleming kpfleming at digium.com
Tue May 3 15:33:14 MST 2005


Brian West wrote:

(ignoring the top-posting and untrimmed six copies of the list signature)

> ast_copy_string is BROKEN!!!!!!!!

Really? Flair for the dramatic, eh?

> chan_sip.c L3297
> 
> ast_copy_string(hostname, h, hn);  <-- broken
> 
> ast_copy_string(hostname, h, hn+1); <-- this works!

Can you provide something other than 'broken' to document what is wrong?



More information about the asterisk-dev mailing list