mirror of
https://github.com/mudler/LocalAI.git
synced 2026-09-21 05:34:56 -04:00
The frame length conversion is already bounded by the guard three lines above it, which caps a payload at 1024 bytes and so cannot truncate a uint16. The agent pick spreads work across workers that are equivalent by construction, and predicting it buys an attacker nothing. Both carry a #nosec naming the rule and the reason rather than a silent suppression, matching the rest of the tree. Assisted-by: Claude Opus 5 [claude-code] Signed-off-by: Ettore Di Giacinto <mudler@localai.io>