Static analysis identified the Len - 1 expression in HeaderMapImpl::getString as problematic if Len is zero. After filing this issue: https://github.com/llvm/llvm-project/issues/130185 Indeed we should be checking MaxLen and verify it is not zero as well. Fixes: https://github.com/llvm/llvm-project/issues/130185
9.3 KiB
9.3 KiB