I just ran the static analyser cppcheck over the source
code of version 9.20.1
It said many things, including
Archive/7z/7zIn.cpp:341]: (style) Array index 'pos' is used before limits check.
Source code is
for (; buffer[pos] != '7' && pos < numTests; pos++);
Suggest code rework.
It's not a bug.
buffer is larger than "numTests".