Hi Klaus.

        pkcsconf always crashes on exit, so I researched by gdb.  I
        noticed that not finalized PKCS#11 API.  I made a patch to fix
        this issue by adding 'cleanup();'.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff -urN opencryptoki-2.3.2.orig/usr/sbin/pkcsconf/pkcsconf.c 
opencryptoki-2.3.2/usr/sbin/pkcsconf/pkcsconf.c
--- opencryptoki-2.3.2.orig/usr/sbin/pkcsconf/pkcsconf.c        2010-07-29 
21:28:41.000000000 +0900
+++ opencryptoki-2.3.2/usr/sbin/pkcsconf/pkcsconf.c     2011-01-02 
20:39:51.706673751 +0900
@@ -654,6 +654,8 @@ main()
       free (newpin2);
    }
 
+   cleanup();
+
    return rc;
 
 }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

        Thank you.

-- 
Norikatsu Shigemura <[email protected]>

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to