]> git.ipfire.org Git - thirdparty/asterisk.git/commit
GCC12: Fixes for 18+. state_id_by_topic comparing wrong value
authorGeorge Joseph <gjoseph@digium.com>
Wed, 4 May 2022 18:00:27 +0000 (12:00 -0600)
committerJoshua Colp <jcolp@sangoma.com>
Mon, 9 May 2022 13:20:46 +0000 (08:20 -0500)
commit49108810d1219e4aa65a65b3578d55b21fd50ba7
tree78eba096a9512e05fe40dc04c7880ad741bdf057
parent8fdc6008a443b2b59eeb31e95bc66ca97a398770
GCC12: Fixes for 18+.  state_id_by_topic comparing wrong value

GCC 12 caught an issue in state_id_by_topic where we were
checking a pointer for NULL instead of the contents of
the pointer for '\0'.

ASTERISK-30044

Change-Id: Ia0b04d4fff45c92acb7f07132a33622fa341148e
main/stasis_state.c