chan_sip: Check that an iostream exists before accessing.
authorJoshua Colp <jcolp@digium.com>
Thu, 11 Jan 2018 18:05:05 +0000 (13:05 -0500)
committerCorey Farrell <git@cfware.com>
Thu, 11 Jan 2018 18:05:05 +0000 (13:05 -0500)
commit6d5f4768a4f1e50099201b22948926f957ee715c
treea17daa45a9e031b297e5db588613715622819772
parent8a6febd9802d2545556fca90519d2d1a793a1357
chan_sip: Check that an iostream exists before accessing.

Before getting the file descriptor for an iostream check
that it is present.

ASTERISK-27534

Change-Id: Ie0aa1394007a37c30e337ea1176a6fb3a63bc99c
channels/chan_sip.c