RestComm / jss7

RestComm Java SS7 Stack and Services
http://www.restcomm.com/
GNU Affero General Public License v3.0
181 stars 218 forks source link

ArrayIndexOutOfBoundsException when decoding GSMCharsetDecoder for bytes with bit 7 ON #195

Closed vetss closed 7 years ago

vetss commented 7 years ago

If we try to decode a byte array by GSMCharsetDecoder and bit 7 ON (128-255 byte values) we have ArrayIndexOutOfBoundsException when decoding.

We need to decode all such characters into a 'SPACE' character.

vetss commented 7 years ago

Fixed by: https://github.com/RestComm/jss7/commit/cae2f95d5217232fd5b3b72950d5da199520f179