Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8009550

PlatformPCSC should load versioned so

XMLWordPrintable

        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.

              andrew Andrew Hughes
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: