Skip to content

sim-mbim: read exact GID1/GID2 file size

There is no guarantee that a binary read with read_size=0 returns only the bytes of the transparent file being read. Instead, query first the file size explicitly, and then read only the exact amount of bytes.

Fixes #651 (closed)

Merge request reports