1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-21 03:03:50 +01:00
J. Nick Koston ef52ce4d76 [api_protobuf] Address copilot review: add bounds checking and clarify 32-bit loop intent
- Add bounds checking in decode_varint_content to prevent undefined behavior if decoded enum value exceeds 31
- Add clarifying comments that 32-bit loops in encode_content and get_size_calculation are intentional to support the full range of enum_as_bitmask (enums with up to 32 values)
- The uint32_t storage type supports general-purpose enum_as_bitmask, not just ColorMode's 10 values
2025-10-18 11:56:40 -10:00
2023-06-12 17:00:34 +12:00
2025-10-18 10:52:42 -10:00
2022-09-06 15:48:01 +12:00
2024-03-28 10:20:51 +13:00
2025-07-17 22:40:28 +12:00
2025-10-08 21:14:45 +13:00
2025-07-17 22:40:28 +12:00
Description
No description provided
Readme Multiple Licenses 277 MiB
Languages
C++ 65%
Python 34.8%
C 0.1%