Review 2026-12-02: AbLegacy Long-on-MicroLogix faults driver, bit-array sizing, whole-word Bit write, coalescing #984

Open
opened 2026-12-02 16:06:24 -05:00 by dohertj2 · 0 comments
Owner

From the 2026-12-02 full code review (master 708a4889c). Plan: docs/superpowers/plans/2026-12-02-review-remediation.md §W1.6/W5. Summary: docs/reviews/2026-12-02/00-SUMMARY.md.

Findings

  • P-5 (High) AbLegacy: one Long tag on a MicroLogix device faults the whole driver at init — docs/reviews/2026-12-02/09-ab-twincat-focas.md
  • P-14 (Medium) AbLegacy: bit arrays read 16× more of the file than needed and fail when the file is shorter than arrayLength words — docs/reviews/2026-12-02/09-ab-twincat-focas.md
  • P-15 (Medium) AbLegacy: writing a Bit tag authored without /n overwrites the whole 16-bit word — docs/reviews/2026-12-02/09-ab-twincat-focas.md
  • P-18 (Medium) AbLegacy: Timer/Counter/Control sub-elements and I/O/S words are never coalesced — docs/reviews/2026-12-02/09-ab-twincat-focas.md
  • P-23 (Low) AbCip / AbLegacy: smaller correctness items — docs/reviews/2026-12-02/09-ab-twincat-focas.md

Each finding in the slice report carries file:line, failure scenario, suggested fix and the test to add. Most are from code reading: reproduce in a failing test first; close as not-a-defect with evidence if it doesn't reproduce.

From the 2026-12-02 full code review (master `708a4889c`). Plan: `docs/superpowers/plans/2026-12-02-review-remediation.md` §W1.6/W5. Summary: `docs/reviews/2026-12-02/00-SUMMARY.md`. ## Findings - **P-5** (High) AbLegacy: one `Long` tag on a MicroLogix device faults the whole driver at init — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` - **P-14** (Medium) AbLegacy: bit arrays read 16× more of the file than needed and fail when the file is shorter than `arrayLength` words — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` - **P-15** (Medium) AbLegacy: writing a `Bit` tag authored without `/n` overwrites the whole 16-bit word — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` - **P-18** (Medium) AbLegacy: Timer/Counter/Control sub-elements and I/O/S words are never coalesced — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` - **P-23** (Low) AbCip / AbLegacy: smaller correctness items — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` Each finding in the slice report carries file:line, failure scenario, suggested fix and the test to add. Most are from code reading: reproduce in a failing test first; close as not-a-defect with evidence if it doesn't reproduce.
dohertj2 added the driver/ablegacytype:review-findingpriority:p1 labels 2026-12-02 16:06:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#984