Hugh Waite writes:
I see that core_hash has moved from
/lib/kcore/hash_func.h (in 3.2) to
/hashes.h but I think the algorithm is the same one. Maybe pua is
passing a null or uninitialised string?
hugh,
when sending publish, there is two places in pua module where core_hash
is called:
hash_code= core_hash(hentity->pres_uri, NULL, HASH_SIZE);
and
hash_code= core_hash(publ->pres_uri, NULL, HASH_SIZE);
is it so that the second param cannot be NULL?
-- juha