commit | 052e51f4a3387446eb71390bc7cfe8d1a3ad6e55 | [log] [tgz] |
---|---|---|
author | Tobias Engel <t-openbsc@tobias.org> | Fri Feb 24 22:23:17 2012 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Fri Feb 24 22:23:17 2012 +0100 |
tree | 3ac01c6424cb2f20191aefdffdf5e29deeae8720 | |
parent | a680b137af0d76b7077ee3650c3ad0caa981c774 [diff] |
Make sure USSD code only responds *#100# for retrieving own number strstr() was used with wrong argument order, causing it to always match, and causing an invalid response to a variety of different SS and USSD requests. This has apparently caused havoc among a number of HTC phones which issue SS requests without user interaction upon boot, and then trip over our inappropriate response.