The following patches close several holes in openCryptoki's parsing of token 
data and reporting of possibly corrupted token data.  They introduce new 
functions, object_mgr_restore_obj_withSize, object_restore_withSize and 
template_unflatten_withSize, to take into account the size of the object as it 
was read from disk. If the sizes reported inside the object do not match the 
size read from disk, the object is ignored and logged to syslog.  This should 
prompt the admin to restore the object from a backup.

Also, several cases of deferencing a NULL pValue pointer are fixed and 
documentation on back/restore of token data is added.

A patch to modify the tok_rsa testcase will follow.

These are based on patches received from Axel Hansen.  Thanks Axel!

Thanks,
Kent

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to