Kirill Podoprigora
Kirill Podoprigora
…e of a function (GH-121680) (cherry picked from commit 178e44de8f023be7a5dc400044ab61983b191f24) * Issue: gh-121657
* Issue: gh-121676
---- 📚 Documentation preview 📚: https://cpython-previews--114583.org.readthedocs.build/
This PR fixes the [CVE-2024-622](https://huntr.com/bounties/abcea7c6-bb3b-45e9-aa15-9eb6b224451a). Now it's prohibited to pass the same path to the `Repo.from_path` classmethod as the path argument to the server.
# Bug report ### Bug description: ``` /opt/homebrew/opt/llvm/bin/llvm-profdata merge -output="/Users/admin/projects/cpython/code.profclangd" "/Users/admin/projects/cpython"/*.profclangr warning: /Users/admin/projects/cpython/code-19589.profclangr: raw profile version mismatch: Profile uses raw profile format version = 8; expected version = 10 PLEASE...
* Issue: gh-125880