smsutil: Add additional sanity check
authorDenis Kenzior <denkenz@gmail.com>
Fri, 13 Feb 2015 15:59:59 +0000 (09:59 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Fri, 13 Feb 2015 15:59:59 +0000 (09:59 -0600)
commite2398b4dfaeaa62bb7b7ab81a74d860953da76c1
tree8a5715112222fa94b57e7fd705770f4b2dd59cbf
parent42deee76a1299c4933b953400cb358af08497bc5
smsutil: Add additional sanity check

We make sure that after performing the UTF8 -> GSM conversion, the
number of GSM bytes is not greater than 11, which is the maximum
payload.
src/smsutil.c