Skip to content

Fix segfault when saving RenderCache#802

Open
Poohl wants to merge 1 commit into
DiligentGraphics:masterfrom
Poohl:renderstate_save_crash
Open

Fix segfault when saving RenderCache#802
Poohl wants to merge 1 commit into
DiligentGraphics:masterfrom
Poohl:renderstate_save_crash

Conversation

@Poohl

@Poohl Poohl commented Jul 21, 2026

Copy link
Copy Markdown

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
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.

1 participant