Author :
tb
Date :
2023-08-17 09:13:01
Hash :fdad50ce 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