core: Ensure presencestate subtype and message are NULL.
authorJoshua Colp <jcolp@digium.com>
Wed, 21 Sep 2016 19:24:08 +0000 (19:24 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 21 Sep 2016 19:27:46 +0000 (14:27 -0500)
commita805d779e84c9e0fd4905c031b291bc938fdc816
tree38a285f53307f373a866706089da5ad9137fcae6
parentccc0bfa69c8fda50ac9c660f055e3681e87d6561
core: Ensure presencestate subtype and message are NULL.

When retrieving presence state information there is no
guarantee that the subtype and message passed in are
set to NULL. This change ensures they are.

ASTERISK-26397 #close

Change-Id: If38cd730e409e9a9b6eb9adef6591d15a9e61f86
main/presencestate.c