From 85b0e1e8a62c052e73b167ebf0c1a6a216525dce Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 16 May 2019 14:50:15 +0200 Subject: support: Report NULL blobs explicitly in TEST_COMPARE Provide an explicit diagnostic if the length is positive, and do not just crash with a null pointer dereference. Null pointers are only valid if the length is zero, so this can only happen with a faulty test. --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index ea7b3d4f48..0f6ee3ec8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-05-16 Florian Weimer + + * support/support_test_compare_blob.c (report_blob): Report + incorrect NULL blobs. + 2019-05-15 Mark Wielaard [BZ# 24476] -- cgit 1.4.1