On Sat, 18 Dec 2010 18:00:17 -0200 Klaus Heinrich Kiwi <[email protected]> wrote:
> remove_leading_zeros() was incorrectly using memcpy() for > overlapping memory segments. Replace it by a more-central > p11_attribute_trim() function in the p11util.c file, and > use memmove() instead. > > Signed-off-by: Klaus Heinrich Kiwi <[email protected]> > --- > usr/lib/pkcs11/cca_stdll/h_extern.h | 2 - > usr/lib/pkcs11/cca_stdll/key.c | 123 > ++++++++++++++++++++++------------- > usr/lib/pkcs11/cca_stdll/utility.c | 24 ------- > usr/lib/pkcs11/common/h_extern.h | 2 - > usr/lib/pkcs11/common/key.c | 121 ++++++++++++++++++++++------------ > usr/lib/pkcs11/common/p11util.c | 23 +++++++ > usr/lib/pkcs11/common/p11util.h | 8 ++ > usr/lib/pkcs11/common/utility.c | 24 ------- > usr/lib/pkcs11/tpm_stdll/h_extern.h | 2 - > usr/lib/pkcs11/tpm_stdll/utility.c | 24 ------- > 10 files changed, 186 insertions(+), 167 deletions(-) applied -- Klaus Heinrich Kiwi | [email protected] | http://blog.klauskiwi.com Open Source Security blog : http://www.ratliff.net/blog IBM Linux Technology Center : http://www.ibm.com/linux/ltc ------------------------------------------------------------------------------ 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
