]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_voicemail: Prevent crash when saving message with realtime voicemail
authorSean Bright <sean.bright@gmail.com>
Wed, 15 Jan 2020 20:29:00 +0000 (15:29 -0500)
committerSean Bright <sean.bright@gmail.com>
Wed, 15 Jan 2020 21:52:25 +0000 (15:52 -0600)
commitba8ccb913297c262a2ada47386bb76bc72fa35d2
treec2fd3e7bfaef231896fec1f339a2da1775ead10f
parent4255277ffdb3e4b248b0554f471f768f87d0bef1
app_voicemail: Prevent crash when saving message with realtime voicemail

ast_store_realtime() is not NULL tolerant, so we need to initialize
the field values we pass to it to the empty string to avoid a crash.

ASTERISK-23739 #close
Reported by: Stas Kobzar

Change-Id: I756c5dd0299c77f4274368f7c99eb0464367466c
apps/app_voicemail.c