]> 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)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 30 Sep 2021 16:47:13 +0000 (11:47 -0500)
commit5a6f14076596ad5208a7b82e5806ba6403d32611
tree92d6d2e767fd609070b1dd386484af1ce44e8a7b
parent0ab4e7491d3b107f3a6092e3bd14080f043f1caa
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