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/.

Holger Hans Peter Freyther holger at freyther.de
Fri Feb 24 19:17:26 UTC 2012


On 02/24/2012 03:54 PM, Harald Welte wrote:
> Hi Tobias,
> 
> thanks for your bug analysis and patch. However, I don't really see how
> 
>> -       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...




More information about the OpenBSC mailing list