You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
It appears in the method newJavaArchiveFilename in the archive_filename.go is incorrectly parsing the names of jars when it has an underscore in the name. http4s-crypto_2.12-0.1.0.jar returns "12" as the name isntead of http4s-crypto
What you expected to happen:
I expected "name" to be reported as http4s-crypto
Steps to reproduce the issue:
scan a java archive with a name like http4s-crypto_2.12-0.1.0.jar
What happened:
It appears in the method newJavaArchiveFilename in the archive_filename.go is incorrectly parsing the names of jars when it has an underscore in the name. http4s-crypto_2.12-0.1.0.jar returns "12" as the name isntead of http4s-crypto
What you expected to happen:
I expected "name" to be reported as http4s-crypto
Steps to reproduce the issue:
scan a java archive with a name like http4s-crypto_2.12-0.1.0.jar
Anything else we need to know?:
Environment:
Output of
syft version
:Application: syft
Version: 0.0.0-SNAPSHOT-9433238b
BuildDate: 2024-01-03T18:52:10Z
GitCommit: 9433238b3c4268ae3300718805ecddf7ea3f59e4
GitDescription: 9433238b-dirty
Platform: linux/amd64
GoVersion: go1.21.3 X:boringcrypto
Compiler: gc
OS (e.g:
cat /etc/os-release
or similar):NAME="Rocky Linux"
VERSION="8.9 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.9"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.9 (Green Obsidian)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2029-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-8"
ROCKY_SUPPORT_PRODUCT_VERSION="8.9"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.9"
The text was updated successfully, but these errors were encountered: