Fix a vulnerability in chatMsg handler
Merge branch 'master' into animudbg