Review Request for 9000142: PlatformPCSC.java loading unversioned native shared library

Severin Gehwolf sgehwolf at redhat.com
Thu Apr 25 08:21:51 UTC 2013


On Wed, 2013-04-24 at 13:05 +0200, Florian Weimer wrote:
> On 03/01/2013 11:30 AM, Severin Gehwolf wrote:
> > Hi,
> >
> > The bug for this review request is at:
> > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=9000142
> >
> > In PlatformPCSC.java unversioned native libraries are loaded by default
> > if no system property is specified. This could lead to a JVM crash if
> > the API of the native library changes, but the Java code still relies on
> > old API. The fix is to load versioned shared libraries instead.
> 
> Hmm.  Why doesn't the "j2pcsc" library link against the right version of 
> libpcsclite.so?

Good question. Anyone who was involved with creating the PlatformPCSC
API still around who would be able to answer this question?

Cheers,
Severin






More information about the security-dev mailing list