ogsmd: Fix binary SMS with null bytes
authorDaniel Willmann <daniel@totalueberwachung.de>
Fri, 13 Feb 2009 22:23:56 +0000 (23:23 +0100)
committerDaniel Willmann <daniel@totalueberwachung.de>
Fri, 13 Feb 2009 22:23:56 +0000 (23:23 +0100)
commitceef20a8780e2abc96d4f68e49ffb11fd208a0e7
tree5d7652d92f739a2f675d34531eeca8b58691782e
parentaf530a040b84a62c2d37cb47fa1fde6b66ef9c91
ogsmd: Fix binary SMS with null bytes

Since binary SMS are very likely to contain null bytes we use a
bytearray in the properties to convey the data. This still doesn't fix
the problem if we receive UCS2 messages which include null bytes (which
is possible, but less likely). Fixes FSO #345.
framework/subsystems/ogsmd/gsm/sms.py