mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
terminate USERUSER String with 0
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3828,7 +3828,8 @@ void export_ch(struct ast_channel *chan, struct misdn_bchannel *bc, struct chan_
|
||||
pbx_builtin_setvar_helper(chan,"MISDN_URATE",tmp);
|
||||
}
|
||||
|
||||
if (bc->uulen) {
|
||||
if (bc->uulen && (bc->uulen < sizeof(bc->uu))) {
|
||||
bc->uu[bc->uulen]=0;
|
||||
pbx_builtin_setvar_helper(chan,"MISDN_USERUSER",bc->uu);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user