[0/2] libcamera: Control name serialization v3 and input validation hardening
mbox series

Message ID 20260723174644.6580-1-magdum.foss@gmail.com
Headers show
Series
  • libcamera: Control name serialization v3 and input validation hardening
Related show

Message

Magdum July 23, 2026, 5:46 p.m. UTC
This series bumps the IPA controls serialization format to v3 to support 
local control names across IPC, and introduces robust size validation 
safeguards against potential serialization overflows.

Patch 1 updates the format layout and serialization logic to preserve V4L2-style 
control names.
Patch 2 hardens the control serializer with input verification boundaries and 
extended boundary tests.

Magdum (2):
  libcamera: Serialize local control names in IPA format v3
  libcamera: Harden control serializer size and input validation

 include/libcamera/ipa/ipa_controls.h         |   6 +-
 src/libcamera/control_serializer.cpp         | 337 ++++++++++++++++---
 test/serialization/control_serialization.cpp | 174 ++++++++++
 3 files changed, 460 insertions(+), 57 deletions(-)