cosmic-settings/subscriptions/network-manager/src
Anthony Lannutti 3bef2b08da
fix(network): validate MAC address length when parsing addresses from network manager
This fixes a bug in the HwAddress struct that allowed invalid MAC addresses to pass validation.

---

- [x] I have disclosed use of any AI generated code in my commit
messages.
- If you are using an LLM, and do not fully understand the changes it is
making to the code base, do not create a PR.
- In our experience, AI generated code often results in overly complex
code that lacks enough context for a proper fix or feature inclusion.
This results in considerably longer code reviews. Due to this, AI
authored or partially authored PRs may be closed without comment.
- [x] I understand these changes in full and will be able to respond to
review comments.
- [x] My change is accurately described in the commit message.
- [x] My contribution is tested and working as described.
- [x] I have read the [Developer Certificate of
Origin](https://developercertificate.org/) and certify my contribution
under its conditions.
2026-06-24 17:10:28 +02:00
..
active_conns.rs chore: add rustfmt config 2026-05-15 16:26:20 -06:00
available_wifi.rs chore: add rustfmt config 2026-05-15 16:26:20 -06:00
current_networks.rs chore: add rustfmt config 2026-05-15 16:26:20 -06:00
devices.rs chore: add rustfmt config 2026-05-15 16:26:20 -06:00
hw_address.rs fix(network): validate MAC address length when parsing addresses from network manager 2026-06-24 17:10:28 +02:00
lib.rs chore: add rustfmt config 2026-05-15 16:26:20 -06:00
nm_secret_agent.rs chore: add rustfmt config 2026-05-15 16:26:20 -06:00
wireless_enabled.rs chore: add rustfmt config 2026-05-15 16:26:20 -06:00