Skip to content

Fix segfault when saving RenderCache - #802

Merged
TheMostDiligent merged 1 commit into
DiligentGraphics:masterfrom
Poohl:renderstate_save_crash
Jul 27, 2026
Merged

Fix segfault when saving RenderCache#802
TheMostDiligent merged 1 commit into
DiligentGraphics:masterfrom
Poohl:renderstate_save_crash

Conversation

@Poohl

@Poohl Poohl commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

When the CacheDataFile could not be opened, the -> operator returns a nullptr and then calling Write crashes.

@Poohl
Poohl requested a review from TheMostDiligent as a code owner July 21, 2026 08:59
@TheMostDiligent
TheMostDiligent force-pushed the renderstate_save_crash branch from ab3a6fc to 10c67d6 Compare July 27, 2026 06:39
@TheMostDiligent
TheMostDiligent merged commit 842545e into DiligentGraphics:master Jul 27, 2026
39 of 40 checks passed
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.

2 participants