]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix memory stomping bug in astman.
authorDavid M. Lee <dlee@digium.com>
Thu, 27 Feb 2014 16:25:32 +0000 (16:25 +0000)
committerDavid M. Lee <dlee@digium.com>
Thu, 27 Feb 2014 16:25:32 +0000 (16:25 +0000)
commit7bf499290d67cb004b0fac2dd89c2ca6a4e63ca8
tree136bfedca6d340778a449e64c7e1ac0f7aea4997
parenta976d09cdc07995ca5ae4c2f6f29fa40cdfe3b68
Fix memory stomping bug in astman.

This memset complained in dev mod on my Ubuntu box. The memset is both
unnecessary and dangerous. At this point, m hasn't been initialized
yet, so the memset will write off to whatever address happens to be
on the stack at the time.
........

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

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@409087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
utils/astman.c