![]() |
HTC Android - pin code - resolve problem
hello,,
bug is inside RIL - libhtcgeneric-ril-diamond.so there is into source library: *if* ( datalen == *sizeof*(*char**) ) *{* asprintf(&cmd, "AT+CPIN=%s", strings[0]); <--------HERE IS PROBLEM *}* *else* *if* ( datalen == 2**sizeof*(*char**) ) *{* asprintf(&cmd, "AT+CPIN=%s,%s", strings[0], strings[1]); <---- AND HERE *}* *else* *goto* error; must be: if ( datalen == sizeof(char*) ) { asprintf(&cmd, "AT+CPIN=\"%s\"", strings[0]); } else if ( datalen == 2*sizeof(char*) ) { asprintf(&cmd, "AT+CPIN=\"%s\",\"%s\"", strings[0], strings[1]); } else goto error; if someona got source please recompile and try did work. |
Re: HTC Android - pin code - resolve problem
I'm not sure this is the correct forum for your post...
|
| All times are GMT -4. The time now is 10:32 PM. |
Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com