commit | 57f7f9e7bc7cbcf1eb4dc00692d0229c73057d69 | [log] [tgz] |
---|---|---|
author | David Gibson <david@gibson.dropbear.id.au> | Fri Jul 20 14:35:12 2018 +1000 |
committer | David Gibson <david@gibson.dropbear.id.au> | Fri Jul 20 14:35:12 2018 +1000 |
tree | 2c8c9b2b86e837b27ac05001617c8cfaa138eaa6 | |
parent | c12b2b0c20eb8fbe1a22065f1d5f0f155ab56b0a [diff] |
tests: Don't call memcmp() with NULL arguments You're not supposed to pass NULL to memcmp(), and some sanitizers complain about it, even when the length is zero. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>