]> 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:32:17 +0000 (08:32 -0500)
commit8d4a298cd4ba6409836ff002433f6eb1b50e3e92
tree5f355fbf773783fb3aeee9db73d4f0571c70ef99
parentc0612ccc283a8ca6edc86535884486f206cfc3dc
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