diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-18 06:01:25 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-18 06:01:25 +0000 |
commit | b09773fed3458f2896bcabf90be0f8de333ef92d (patch) | |
tree | 03fccfc1c6813ccf9378230f12966429af3b33a3 | |
parent | 1b2ff1376aed9d716003bcaf6124986aeb23ac5c (diff) |
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().
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@176902 f38db490-d61c-443f-a65b-d21fe96a405b
0 files changed, 0 insertions, 0 deletions