Skip to content

glib-aux: fix nm_ref_string_equal_str()

Beniamino Galvani requested to merge bg/clear-current-bss into main

Fix comparison with a NULL string.

The only current caller is nm-supplicant-interface.c, and this bug causes a missing cleanup of the CurrentBSS property on disconnect.

Fixes: ac8c3a71 ('glib-aux: improve nm_ref_string_equals_str() to work for non-C-strings')

https://bugzilla.redhat.com/show_bug.cgi?id=1983735

Merge request reports