Use memmove() instead of memcpy() for a case where the buffers overlap.
authorRussell Bryant <russell@russellbryant.com>
Mon, 8 Feb 2010 23:23:45 +0000 (23:23 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 8 Feb 2010 23:23:45 +0000 (23:23 +0000)
commita0d74cef6675b52f094a6475cd4d84b74d2feea3
tree67427d82ac686252d5ede2fab632534b51d77247
parente9184b8dbe862baf7befe70213b0709d5f9873b6
Use memmove() instead of memcpy() for a case where the buffers overlap.

Once again, valgrind is freaking awesome.  That is all.

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