summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorTommi Kenakkala <tommi.kenakkala@tieto.com>2015-02-13 17:50:16 +0200
committerDenis Kenzior <denkenz@gmail.com>2015-02-13 09:49:39 -0600
commit2af3c733b7a31d755d7dec5b59113b9c73209d16 (patch)
tree80248de64755263a8abcbab9e8ae55745646d23c /unit
parent604fa223f4a1b7abdf44b5da6c5ca45684f3feac (diff)
downloadofono-2af3c733b7a31d755d7dec5b59113b9c73209d16.tar.bz2
sms: Fix alphanumeric TP-OA handling
TP-OA max length comparisons were incorrect because TP-OA's 7-bit coded octets transport eleven 8-bit chars. The current code assumed only 10 chars were possible. The patch - increases the array size to 23, (maximum of 22 bytes for UTF8 encoding + null terminator) - Updates the sanity check to account for the correct maximum - For encoding, checks the maximum length in UTF8 characters instead of bytes
Diffstat (limited to 'unit')
0 files changed, 0 insertions, 0 deletions