[Bug 257255] graphics/rawtherapee: Crashes in rtengine::Color::rgb2lab01 when editing a picture; nullptr dereference related to color profile

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Nov 2023 00:12:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257255

martin <martin@bxlr.sk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin@bxlr.sk

--- Comment #31 from martin <martin@bxlr.sk> ---
I was helping on the same issue:
https://forums.freebsd.org/threads/rawtherapee-crashes-when-trying-to-edit-nef-files.90900/
unaware of this PR.

OP opened a bug report too: https://github.com/Beep6581/RawTherapee/issues/6876

I debugged it and found out why it was failing -- the profile map was not found
even though it was loaded and present ( map::find() returned false negative).
I'm not a C++ programmer and I was not aware find() is such locale sensitive.

I'm linking forums and bug tracker # here for future googlers.

-- 
You are receiving this mail because:
You are on the CC list for the bug.