[asterisk-commits] russell: branch 1.6.0 r176902 - /branches/1.6.0/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 18 00:01:26 CST 2009


Author: russell
Date: Wed Feb 18 00:01:25 2009
New Revision: 176902

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=176902
Log:
Blocked revisions 176901 via svnmerge

........
r176901 | russell | 2009-02-18 00:00:40 -0600 (Wed, 18 Feb 2009) | 9 lines

Fix a number of incorrect uses of strncpy().

The big problem here is that the 3rd argument provided in these uses of strncpy()
did not reserve a byte for the null terminator, leaving the potential for writing
one byte past the end of the buffer.

Aside from this, there were coding guidelines violations with regards to spacing,
as well as hard coded lengths being used instead of sizeof().

........

Modified:
    branches/1.6.0/   (props changed)

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-blocked' - no diff available.




More information about the asterisk-commits mailing list