CVSROOT: /cvs Module name: src Changes by: [email protected] 2023/08/17 03:13:01
Modified files:
lib/libcrypto/objects: obj_lib.c
Log message:
Avoid memcmp(NULL, x, 0) in OBJ_cmp()
If a->length is 0, either a->data or b->data could be NULL and memcmp()
will rely on undefined behavior to compare them as equal. So avoid this
comparison in the first place.
ok jsing
