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

Skip to content
Commit bb589835 authored by Sonny Sasaka's avatar Sonny Sasaka
Browse files

Floss: Refactor argument parsing in btclient

Refactor argument parsing so that:
* Always use safe indexing instead of unsafe `[]` (also fixes a case
  where it panics due to this).
* Do not hardcode argument length (bug prone).

Bug: 188718349
Tag: #floss
Test: Build btclient on Linux

Change-Id: I1aed068a014ac5cb3f6098a574b5e1ba8c0b5275
parent cc17bbf5
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