Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Fix crash when adding %s specifier to color legend label #6795

Merged
merged 1 commit into from
Jan 25, 2023

Commits on Jan 25, 2023

  1. BUG: Fix crash when adding %s specifier to color legend label

    If a string specifier followed by a float specifier were added to the label format string, the SNPRINTF call would crash when interpreting the double as a string pointer.
    Fixed by only printing the value to the first specifier, and by validating that the specifier defines a floating point type.
    
    Fix Slicer#3802
    Sunderlandkyl committed Jan 25, 2023
    Configuration menu
    Copy the full SHA
    91d2923 View commit details
    Browse the repository at this point in the history