[asterisk-dev] Re: [asterisk-commits] kpfleming: branch 1.4 r46200 - in /branches/1.4: apps/ cdr/ channels/ main/ p...

Luigi Rizzo rizzo at icir.org
Wed Oct 25 07:39:09 MST 2006


On Wed, Oct 25, 2006 at 02:32:08PM -0000, asterisk-commits at lists.digium.com wrote:
> Author: kpfleming
> Date: Wed Oct 25 09:32:08 2006
> New Revision: 46200
> 
> URL: http://svn.digium.com/view/asterisk?rev=46200&view=rev
> Log:
> apparently developers are still not aware that they should be use ast_copy_string instead of strncpy... fix up many more users, and fix some bugs in the process
> 
> Modified:

maybe we should #define strncopy and other forbidden APIs to something
that causes an error during compilation ?

cheers
luigi



More information about the asterisk-dev mailing list