You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
det port: LINK COMMAREA(ERROR-MSG) to LGSTSQ marshals past the 71-byte record (GenApp error paths) #4181
era:2Era CICS/MVS-ESA, COBOL II/85: RESP, SQL, DPL (~1988-96) (era_tags.py)scope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
In the det port of GenApp LGACDB01, EXEC CICS LINK PROGRAM('LGSTSQ') COMMAREA(ERROR-MSG) passes a 71-byte record. The LINK is marshalled with CA-ERROR-MSG's DTO, which is wider, and fails reading past the record:
This is on GenApp's SQL error paths (WRITE-ERROR-MESSAGE then LINK LGSTSQ). None of our proofs reach those paths, because the harness has no SQL fault injection (#4173). Agent H's run of IBM's LGACDB01 Java (#4177) forced the error path and exposed it; it used a --clamp-error-msg workaround in its scratch copy only.
Expected
A LINK COMMAREA is marshalled with the layout of the area actually passed (ERROR-MSG, 71 bytes), or the length the caller passes, per the LINK typing rules (target_contract / VALUE). It must never read past the record.
Notes
Probably affects every GenApp program that LINKs LGSTSQ with its ERROR-MSG, and any LINK whose COMMAREA is narrower than the callee's declared DTO.
era:2Era CICS/MVS-ESA, COBOL II/85: RESP, SQL, DPL (~1988-96) (era_tags.py)scope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Activity
docs(research): LGACDB01 -- harness results for IBM's Java (#4177), o…
docs(research): GenApp LGACDB01: two independent translations, scanne…
SQL fault injection in the equivalence harness (#4173); a LINK COMMAR…