]> git.ipfire.org Git - thirdparty/hostap.git/commit
Interworking: Check NULL string to avoid compiler warning
authorMasashi Honma <masashi.honma@gmail.com>
Fri, 18 Oct 2019 02:04:18 +0000 (11:04 +0900)
committerJouni Malinen <j@w1.fi>
Fri, 25 Oct 2019 13:03:37 +0000 (16:03 +0300)
commit6807eee9ca95cc02e735462de2d052fcc7d1148a
treed30921d92e4d3d5e4b999b0fc1d837a66077c599
parentec1c0d1548b54b7d7b7d9b568cc0956c77a5b9a6
Interworking: Check NULL string to avoid compiler warning

Fix warning by gcc 9.2.1.

interworking.c: In function ‘interworking_home_sp_cred’:
interworking.c:2263:3: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
 2263 |   wpa_msg(wpa_s, MSG_DEBUG,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
 2264 |    "Interworking: Search for match with SIM/USIM domain %s",
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2265 |    realm);
      |    ~~~~~~

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
wpa_supplicant/interworking.c