OpenBSC bug that triggers Qualcomm baseband bug (patch)

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Andreas Eversberg andreas at eversberg.eu
Fri Feb 24 20:49:51 UTC 2012


>>> -       if (strstr(USSD_TEXT_OWN_NUMBER, req.text) != NULL) {
>>> +       if (strcmp(USSD_TEXT_OWN_NUMBER, (const char *) req.text) == 0) {
>>>       
> the old code got strstr the wrong way.. needle and the haystack are mixed up...
>   
hmm, this explains why a call forward query (no USSD) always caused to
get a reply with own number.




More information about the OpenBSC mailing list