]> 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:32 +0000 (11:47 -0500)
commitb40ca38c56f2ae59b6822a2c43578a3e3c555184
tree0e0ab39772f57b35d8d80afda775d2603bbe3128
parent6bc747b6397c64074add5a17d74735c6891b8915
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