Menu

#57 Missing phonebook caused by one "strange character" entry

open
8
2005-05-26
2005-05-26
No

Error:
ERROR: "TULP2G.Conversion.SIM.DecodeError";
TULP2G.Conversion.SIM.DecodeError: Value was either
too large or too small for an unsigned byte.; Class:
Forensic; Severity: Warning

Result:
No phonebook entries if one of them contains
a "strange" character.

Cause:
The "SMSDefaultAlphabet" decoding array contains 2-
byte long unicode characters, but the GSMAlpha2String
method assumes 1 only 1 byte values.

Fix:
Adapt GSMAlpha2String method to support 2 byte
values and check all other code for usage of
SMSDefaultAlphabet.

Discussion


Log in to post a comment.