Skip to content

Reshape fallback must fail cleanly on tmp malloc failure#71

Open
k8ika0s wants to merge 1 commit into
IBM:mainfrom
k8ika0s:qe/issue-02-reshape-fallback-alloc-safety
Open

Reshape fallback must fail cleanly on tmp malloc failure#71
k8ika0s wants to merge 1 commit into
IBM:mainfrom
k8ika0s:qe/issue-02-reshape-fallback-alloc-safety

Conversation

@k8ika0s
Copy link
Copy Markdown

@k8ika0s k8ika0s commented Apr 15, 2026

Fixes #41

Summary

  • Reshape fallback must fail cleanly on tmp malloc failure.

Why

Changes

  • Implemented on branch qe/issue-02-reshape-fallback-alloc-safety.
  • Includes code and tests scoped to this issue.

Validation

  • s390x integrated battery pass recorded in artifacts/final-validation-20260212T173158Z.
  • Targeted regressions for this scope were validated during branch prep.

Notes

  • DCO signoffs are present on branch commits.

What: Detect and fail cleanly when reshape fallback temporary allocation fails.

Why: Allocation failures must return a deterministic status (no crash/UB), especially under memory pressure.

Expected impact: Safer failure semantics and easier integration fallback handling.

Tests: add regression forcing malloc failure (tests/testDriver_reshape_fallback_alloc_safety.c).
Signed-off-by: Kaitlyn Davis <k8ika0s@gmail.com>
Signed-off-by: Kaitlyn Davis <kaitlyn.davis@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Reshape Fallback Must Fail Cleanly on Tmp Malloc Failure

1 participant