Skip to content

Fix crash when selecting "Brightness/Contrast classic" node#3278

Closed
TheUnlocked wants to merge 1 commit intoGraphiteEditor:masterfrom
TheUnlocked:fix-brightness-contrast-classic-properties
Closed

Fix crash when selecting "Brightness/Contrast classic" node#3278
TheUnlocked wants to merge 1 commit intoGraphiteEditor:masterfrom
TheUnlocked:fix-brightness-contrast-classic-properties

Conversation

@TheUnlocked
Copy link
Copy Markdown
Contributor

Resolves #3206

The crash was because both the normal and classic brightness/contrast nodes were using the same brightness_contrast_properties function and that function used input indexes from the normal node rather than the classic one. Since the classic node didn't have the use_classic input that the normal brightness/contrast node has, there was an OOB when brightness_contrast_properties tried to read it.

@Keavon
Copy link
Copy Markdown
Member

Keavon commented Oct 12, 2025

!build

@github-actions
Copy link
Copy Markdown

📦 Build Complete for a8d8452
https://b18a36f3.graphite.pages.dev

@adamgerhant
Copy link
Copy Markdown
Collaborator

This is fixed in dev.graphite.rs

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.

Using "Brightness/Contrast Classic" crashes

3 participants