[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I found a bug in CML v1.91




Hello

I found a bug in CM_cache.c (line 1070).
"pLink = pLink->next;" should be added to
this while loop.

----------------------
Now I have the encoding problem in CMU_DSAEncodePQGparms()
solved, but before that, SMTI_Verify (CM_cetilinfc.cpp 184 and 215)
didn't throw a exception as it should when a fake signature is verified.
However it did return something different from 0 (an error code).

CTILVerifySignature is ignoring SMTI_Verify return code. Is this
correct or not ?

-----------------------

Another suspect bug:

 SRL_DatabaseSearch is testing if "dn[0]!= 0" to find if this parameter is
to be ignored. However I think that the correct test is "dn != 0", because
in SRL API docs is stated that the correct value for dn is NULL and not "".

Am I right or not ?


Thanks for Your help,

Paulo Araújo