From 5203cd2f11a1419db57d067d2713c2118787d0c3 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 6 Mar 2017 11:31:11 -0500 Subject: Check for NULL as input to extrainfo_parse_entry_from_string() We hope this will make the clangalyzer less worried about this function. Closes ticket 21496. --- changes/bug21496 | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 changes/bug21496 (limited to 'changes') diff --git a/changes/bug21496 b/changes/bug21496 new file mode 100644 index 0000000000..24ac85a769 --- /dev/null +++ b/changes/bug21496 @@ -0,0 +1,4 @@ + o Minor features (safety): + - Add an explict check to extrainfo_parse_entry_from_string() for NULL + inputs. We don't believe this can actually happen, but it may help + silence a warning from the Clang analyzer. Closes ticket 21496. -- cgit v1.2.3-54-g00ecf