Don't use strncpy for moving a chunk of memory to another that is overlapping.
authorRussell Bryant <russell@russellbryant.com>
Thu, 9 Aug 2007 20:07:59 +0000 (20:07 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 9 Aug 2007 20:07:59 +0000 (20:07 +0000)
commitdc7af7d5fe1c55b97bbbef65ea10160ea0b718a4
treeae0f784ef7a7f6def263ead1607ce0f2ba18eb32
parent62f661484ba8b7dd100817b442fce9813d796e22
Don't use strncpy for moving a chunk of memory to another that is overlapping.
This was found by running Asterisk under valgrind.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_minivm.c