Files
nix/src/libmain
Sergei Zimmerman b9f8c4af40 fix(libmain/common-args): do not exceed maximum allowed verbosity
This patch gets rid of UB when verbosity exceeds the maximum logging value of `lvlVomit = 7` and
reaches invalid values (e.g. 8). This is actually triggered in functional tests.
There are too many occurrences to list, but here's one from the UBSAN log:

../src/libstore/gc.cc:610:5: runtime error: load of value 8, which is not a valid value for type 'Verbosity'
2024-11-14 02:07:03 +03:00
..
2024-04-17 12:26:10 -04:00
2023-04-28 17:03:04 +02:00
2024-07-24 16:52:04 +02:00
2024-07-22 11:46:54 -04:00
2024-07-18 23:26:22 +01:00
2024-07-15 17:26:03 -04:00
2024-11-07 15:11:41 -05:00