commit | 14c58591f5203fa19fb756a43c350f5e9d148273 | [log] [tgz] |
---|---|---|
author | Daniele Palmas <dnlplm@gmail.com> | Wed Dec 14 12:49:17 2022 |
committer | Aleksander Morgado <aleksandermj@chromium.org> | Sun Jan 29 09:16:42 2023 |
tree | 4b51471b3ecb711fae3cb12b7dab82e625f036f9 | |
parent | 63d12c81a9557cc810910e2573a1501291393087 [diff] |
UPSTREAM: libmbim-glib,tlv: allow 0-length strings for MBIM_TLV_TYPE_WCHAR_STR Document Microsoft MBIM Extensions for 5G (rev 1.17) considers the possibility of having wchar strings tlvs with datalength == 0 in the information buffer (e.g. AccessString field in MBIM_CONNECT_INFO_EX3 data structure). Modify mbim_tlv_string_get for dealing with these situations, returning an empty string. (cherry picked from commit 23363567bcc5bccb169d3730ea128f631bb42570) BUG=b:266843679 TEST=No crashes during connection attempt Disallow-Recycled-Builds: test-failures Change-Id: I5f989a2f921e0d73f53589915b98064ac1eab0f7
libmbim is a glib-based library for talking to WWAN modems and devices which speak the Mobile Broadband Interface Model (MBIM) protocol.
Project documentation is kept in: https://modemmanager.org/docs/libmbim/
libmbim-glib
library is released under the LGPL-2.1-or-later license.mbimcli
and mbim-network
tools are released under the GPL-2.0-or-later license.License texts can be found under the LICENSES
folder.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms, which you can find in the following link: https://www.freedesktop.org/wiki/CodeOfConduct CoC issues may be raised to the project maintainers at the following address: libmbim-devel-owner@lists.freedesktop.org