]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: Handle empty 'interface' in queue member config
authorSean Bright <sean.bright@gmail.com>
Mon, 4 Mar 2019 22:05:30 +0000 (17:05 -0500)
committerSean Bright <sean.bright@gmail.com>
Mon, 4 Mar 2019 22:07:37 +0000 (16:07 -0600)
commit88681ba9bb6c480b490b40afa65a48063a9a0a2f
treece24d3cd54cf321c4aa981022b70996e0bd3f0d0
parent90f0f6659d69db6b7ada7dcacd0ddc066a3e4ac3
app_queue: Handle empty 'interface' in queue member config

While the 'interface' column is a NOT NULL, the empty string is still
allowed. res_config_odbc treats the empty string as a NULL and we crash
when trying to dereference.

Also cleaned up an adjacent error message for consistency.

ASTERISK-28168 #close

Change-Id: I55e012b540fbcda99bb40bede3099b7ae5db8202
apps/app_queue.c