Use ast_copy_string instead of strncpy to guarantee a NUL terminated string.
authorSean Bright <sean@malleable.com>
Mon, 1 Oct 2012 17:28:41 +0000 (17:28 +0000)
committerSean Bright <sean@malleable.com>
Mon, 1 Oct 2012 17:28:41 +0000 (17:28 +0000)
commitb3c739a8424720bc63e15faebc8e6ffe15944294
tree2b404d347624dc68681fc6c13a30f8f1ff3ac553
parent154ee24ae827da93238ab1f62df82fcae3f87259
Use ast_copy_string instead of strncpy to guarantee a NUL terminated string.
........

Merged revisions 374132 from http://svn.asterisk.org/svn/asterisk/branches/10
........

Merged revisions 374133 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@374134 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/db.c