commit | 84e0bffaff9c6d07569377f04d3ea038620cf58f | [log] [tgz] |
---|---|---|
author | Aleksander Morgado <aleksander@aleksander.es> | Tue Sep 15 10:22:34 2020 |
committer | Aleksander Morgado <aleksander@aleksander.es> | Tue Sep 15 17:04:05 2020 |
tree | 4944b216d67f242971536e3cb1b7c66c3b3fe952 | |
parent | 9bbf65ae62348b111fc8b3d5200b39ab2ec2495b [diff] |
libqmi-glib,nas: BCD encoded strings should be read as arrays The BCD encoded PLMN strings in the "NAS Get Cell Location Info" message should be read as byte arrays, and then processed by the user to read the BCD encoded string. Attempting to read this kind of fields as a standard ASCII strings will fail UTF-8 validation, and the whole TLV will be skipped. Fixes https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/issues/47