-
Bug
-
Resolution: Fixed
-
P3
-
None
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8325958 | 21.0.3 | Andrew Hughes | P3 | Resolved | Fixed | b04 |
A DESCRIPTION OF THE REQUEST :
PlatformPCSC.java attempts to load unversioned native shared libraries under /usr/lib{64}. This can lead to JVM crashes if the underlying native library changes API.
See also: https://bugzilla.redhat.com/show_bug.cgi?id=910107
JUSTIFICATION :
Possibility of a JVM crash if /usr/lib{64}/libpcsclite.so changes API.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
PlatformPCSC.java loads versioned (i.e. libpcsclite.so.1) by default instead.
ACTUAL -
It loads unversioned native library by default (i.e. libpcsclite.so).
CUSTOMER SUBMITTED WORKAROUND :
Set the system property in order to load appropriate native library.
PlatformPCSC.java attempts to load unversioned native shared libraries under /usr/lib{64}. This can lead to JVM crashes if the underlying native library changes API.
See also: https://bugzilla.redhat.com/show_bug.cgi?id=910107
JUSTIFICATION :
Possibility of a JVM crash if /usr/lib{64}/libpcsclite.so changes API.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
PlatformPCSC.java loads versioned (i.e. libpcsclite.so.1) by default instead.
ACTUAL -
It loads unversioned native library by default (i.e. libpcsclite.so).
CUSTOMER SUBMITTED WORKAROUND :
Set the system property in order to load appropriate native library.