[WebKit vendored code] osv-scanner misidentifies gmock and gtest as valijson project
Summary:
osv-scanner misidentifies gmock and gtest as valijson project in the WebKit project while scanning for vendored code dependencies.
Steps to Reproduce:
- Check out WebKit (at commit https://github.com/WebKit/WebKit/commit/fda388552a877f757aa8216c8d116937fe8651f2):
git clone https://github.com/WebKit/WebKit.git WebKit.git
- Run
osv-scanner(at commit 85563d901bec48bbe8db1242f083c42d42353ace):
go run ./cmd/osv-scanner/main.go -r WebKit.git/Source/ThirdParty
Expected Results:
osv-scanner identifies gmock and gtest as part of the googletest repo that combined both projects.
Actual Results:
osv-scanner misidentifies gmock and gtest as the valijson project at different commits.
There are two other partial copies of googletest that aren't identified as well.
Scanning dir WebKit.git/Source/ThirdParty
Scanning directory for vendored libs: WebKit.git/Source/ThirdParty
[...]
Scanning potential vendored dir: WebKit.git/Source/ThirdParty/gmock
Identified WebKit.git/Source/ThirdParty/gmock as https://github.com/tristanpenman/valijson at c5487c39eb900b97535f8b3a38a17af098c784e3.
Scanning potential vendored dir: WebKit.git/Source/Source/ThirdParty/gtest
Identified WebKit.git/Source/ThirdParty/gtest as https://github.com/tristanpenman/valijson at 2dfc7499a31b84edef71189f4247919268ebc74e.
[...]
Scanning potential vendored dir: WebKit.git/Source/ThirdParty/libwebrtc/Source/third_party/boringssl/src/third_party/googletest
[...]
Scanning potential vendored dir: WebKit.git/Source/ThirdParty/libwebrtc/Source/third_party/libvpx/source/libvpx/third_party/googletest
[...]
This issue has not had any activity for 60 days and will be automatically closed in two weeks
Automatically closing stale issue
This issue has not had any activity for 60 days and will be automatically closed in two weeks
See https://github.com/google/osv-scanner/blob/main/CONTRIBUTING.md for how to contribute a PR if you're interested in helping out.
Automatically closing stale issue