optimization causes segfaults in color parsing
Ckath opened this issue · comments
when compiling with any optimization (-Os -O2 -O3 etc) fuf segfaults, I've run it through sanitizers and debuggers with limited success. this should probably be fixed at some point, unless a newer gcc version will suddenly start to like it.
seems to be related to the color parsing, running with unset LS_COLORS
allows it to not segfault after optimization, will need further investigation to find out where the problem is exactly.
I'm just tagging this onto this issue but fuf also crashes when you do LS_COLORS=""
instead of unsetting it, due to how it decides to run color parsing or not, this might also be related to the optimization segfaults.