]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix incorrect sizeof() usage in features.c.
authorRussell Bryant <russell@russellbryant.com>
Wed, 14 Mar 2012 00:21:18 +0000 (00:21 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 14 Mar 2012 00:21:18 +0000 (00:21 +0000)
commitc7c08aa792b330d6a25bee3151e2bcd2b29c739a
treeb0dc19a1b9f1f69d7899055213fde324b77a29c8
parentf56c91a316478a8c716fe3365d9ee8a6cb1387a5
Fix incorrect sizeof() usage in features.c.

This didn't actually result in a bug anywhere, luckily.  The only place
where the result of these memcpys was used is in app_dial, and the only
field that it read out of ast_call_feature was the first one, which is an
int, so these memcpys always copied just enough to avoid a problem.
........

Merged revisions 359069 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@359072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/features.c