[konsole] [Bug 434892] Crash when using a color scheme with "random" background colors

Kurt Hindenburg bugzilla_noreply at kde.org
Mon May 24 20:09:29 BST 2021


https://bugs.kde.org/show_bug.cgi?id=434892

Kurt Hindenburg <kurt.hindenburg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/konsole/commit/8c2495
                   |                            |3bdefc28fa7f1db1d0b77f855f3
                   |                            |c1ec952
         Resolution|---                         |FIXED

--- Comment #14 from Kurt Hindenburg <kurt.hindenburg at gmail.com> ---
Git commit 8c24953bdefc28fa7f1db1d0b77f855f3c1ec952 by Kurt Hindenburg, on
behalf of Luis Javier Merino MorĂ¡n.
Committed on 24/05/2021 at 19:08.
Pushed by hindenburg into branch 'master'.

Fix crash when using a color scheme with random colors

A new assert in GCC 11.1.0 std::piecewise_linear_distribution fails in
the case that the lower and upper boundaries are equal.  So, make sure
to not construct a std::piecewise_linear_distribution when minSaturation
equals maxSaturation and when minLightness equals maxLightness.

M  +19   -13   src/colorscheme/ColorScheme.cpp

https://invent.kde.org/utilities/konsole/commit/8c24953bdefc28fa7f1db1d0b77f855f3c1ec952

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list