On Dec 4, 2025, at 12:34 PM, Guy Harris <[email protected]> wrote: > Not using g_ascii_strcasecmp() in Wireshark caused a *crashing bug* in > Wireshark in a Turkish locale (it was in code that was parsing some text > configuration file; the problem was that a keyword was being compared with > strcasecmp(), and the keyword contained the Roman-alphabet "i", and the match > failed in a Turkish locale when case-insensitivity was required, and that was > compounded by a null pointer being returned in the mismatch case and the > validity of the pointer *not* being checked). > > After fixing both 1) the case-insensitive comparison and 2) the lack of a > null-pointer check, I've remembered that quirk.
The full fun story is at https://gitlab.com/wireshark/wireshark/-/issues/2010 _______________________________________________ tcpdump-workers mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
