cpp/enum-index (in thirdparty/spdlog/include/spdlog/fmt/bundled/core.h
When accessing array values with index id, the upper bound of an enum is used to check the upper bound of the array, but the lower bound is not checked.
2029 arg.type = type(id);
2030 if (arg.type_ == detail::type::nonetype) return arg;
2031 arg.value = values_[id];
2032 return arg;
2033 }
cpp/enum-index (in thirdparty/spdlog/include/spdlog/fmt/bundled/core.h
When accessing array values with index id, the upper bound of an enum is used to check the upper bound of the array, but the lower bound is not checked. 2029 arg.type = type(id); 2030 if (arg.type_ == detail::type::nonetype) return arg; 2031 arg.value = values_[id]; 2032 return arg; 2033 }