On 24/05/07, Michael StJohns <[EMAIL PROTECTED]> wrote:
I downloaded, compiled and installed the applet on a JCOP41 card and it works
fine.
But while I was reading the code, I noticed a possible problem in CardEdge.src.
Near the beginning is: private final static short RESERVED_OBJECT_CLA_MASK =
(short) 0xFFFD;
That's used elsewhere to keep users from using reserved space.
It looks like you've got reserved classes at FFFD, FFFE and FFFF. But the mask
only blocks FFFD and FFFF. I think the mask should actually be FFFC (easier
change than changing all the logic later in the code)
Where did you get the source code?
I can't find any reference to RESERVED_OBJECT_CLA_MASK either from the
version available from Alioth [1] or the version available from RedHat
in the coolkey project [2].
Note that the version from Alioth is no more maintained. Every body
may want to use the version from RedHat. It should be more maintained.
Bye
[1] http://svn.debian.org/wsvn/muscleplugins/trunk/MCardApplet/?rev=0&sc=0
[2] http://cvs.fedora.redhat.com/viewcvs/coolkey/applet/?root=dirsec
--
Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle