]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_read: Fix null pointer crash
authorNaveen Albert <asterisk@phreaknet.org>
Wed, 29 Sep 2021 17:58:14 +0000 (17:58 +0000)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Thu, 30 Sep 2021 16:07:32 +0000 (11:07 -0500)
commit7ee4136dcf98f00c5cddd4265042cec7999e662d
treeb43f31b010f6bf9dc9feb6f0bb7829c7098f8546
parent0c17fd802b30c57bd4bf8d2c5c65cd5cbf9fcf96
app_read: Fix null pointer crash

If the terminator character is not explicitly specified
and an indications tone is used for reading a digit,
there is no null pointer check so Asterisk crashes.
This prevents null usage from occuring.

ASTERISK-29673 #close

Change-Id: Ie941833e123c3dbfb88371b5de5edbbe065514ac
apps/app_read.c