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

Kurt Hindenburg bugzilla_noreply at kde.org
Mon May 24 20:28:55 BST 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
                   |ities/konsole/commit/8c2495 |ities/konsole/commit/b246ac
                   |3bdefc28fa7f1db1d0b77f855f3 |57ee8000e15e71d833701fbcab0
                   |c1ec952                     |b780f20

--- Comment #15 from Kurt Hindenburg <kurt.hindenburg at gmail.com> ---
Git commit b246ac57ee8000e15e71d833701fbcab0b780f20 by Kurt Hindenburg, on
behalf of Luis Javier Merino MorĂ¡n.
Committed on 24/05/2021 at 19:23.
Pushed by hindenburg into branch 'release/21.04'.

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.
(cherry picked from commit 8c24953bdefc28fa7f1db1d0b77f855f3c1ec952)

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

https://invent.kde.org/utilities/konsole/commit/b246ac57ee8000e15e71d833701fbcab0b780f20

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


More information about the konsole-devel mailing list