maskit opened a new issue, #10217:
URL: https://github.com/apache/trafficserver/issues/10217

   ```
    57  if (auto data = args->get("format"); data) {
    58    swoc::TextView fmt{data.value()};
        3. find: Calling find with element fmt returns the end iterator.
        4. assign: Assigning: search = <unnamed>::_Fmt_str_to_enum.find(fmt).
        5. Condition search != std::unordered_map<std::basic_string_view<char, 
std::char_traits<char> >, BasePrinter::Options::OutputFormat, 
std::hash<std::basic_string_view<char, std::char_traits<char> > >, 
std::equal_to<std::basic_string_view<char, std::char_traits<char> > >, 
std::allocator<std::pair<std::basic_string_view<char, std::char_traits<char> > 
const, BasePrinter::Options::OutputFormat> > 
>::const_iterator(std::end(<unnamed>::_Fmt_str_to_enum)), taking true branch.
    59    if (auto search = _Fmt_str_to_enum.find(fmt); search != 
std::end(_Fmt_str_to_enum)) {
        
   CID 1512740 (#1 of 1): Using invalid iterator (INVALIDATE_ITERATOR)
   6. deref_iterator: Dereferencing iterator search though it is already past 
the end of its container.
    60      val = search->second;
    61    }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to