AbCip native: budget reply size in RequestScheduler.TakeBatch (verify mixed STRING/array packing) #582

Closed
opened 2026-10-07 21:46:59 -04:00 by dohertj2 · 1 comment
Owner

Found by the final whole-branch review of the native AB transport work (branch feat/native-ab-transport, plan docs/plans/2026-10-07-native-ab-transport.md). Minor; not merge-blocking.

MSP packing budgets by request size; a batch of small requests whose replies are large (STRINGs, arrays) can overflow the reply. MaxConcurrentReads limits exposure today. Budget the expected reply size, or verify mixed packing on a real controller.

Found by the final whole-branch review of the native AB transport work (branch `feat/native-ab-transport`, plan `docs/plans/2026-10-07-native-ab-transport.md`). Minor; not merge-blocking. MSP packing budgets by request size; a batch of small requests whose replies are large (STRINGs, arrays) can overflow the reply. MaxConcurrentReads limits exposure today. Budget the expected reply size, or verify mixed packing on a real controller.
dohertj2 added the driver/abcip label 2026-10-07 21:46:59 -04:00
Author
Owner

Fixed: TakeBatch budgets expected reply bytes (STRING 88/elem, unknown sizes sent alone); mixed STRING/array/scalar packing unit-tested. Residual: mixed packing unverified on a real controller — recorded in docs/drivers/AbCip.md. (merge bd2bebed on master, pushed 2026-10-08)

Fixed: TakeBatch budgets expected reply bytes (STRING 88/elem, unknown sizes sent alone); mixed STRING/array/scalar packing unit-tested. Residual: mixed packing unverified on a real controller — recorded in docs/drivers/AbCip.md. (merge `bd2bebed` on master, pushed 2026-10-08)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#582