Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b358c677 authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Fix parsing a NduseroptMessage inside a NetlinkMessage.

The parsing code inside NduseroptMessage assumed that the message
started at the beginning of the buffer. Fix this, and also
restore the original endianness and limit of the buffer after
parsing.

Add tests for this, and make the existing tests a bit more
readable.

Bug: 153694684
Test: new unit tests
Change-Id: Id0b4dc18dd219b4d35846e161022a37c8de3e3bb
parent cc4bb60a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment