From: Oliver Kurth Date: Fri, 15 Sep 2017 18:23:54 +0000 (-0700) Subject: Re-instate ASSERTS in circList.h X-Git-Tag: stable-10.2.0~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcee9fe84ab642d88230a0cb7b8db6fe6e2207d2;p=thirdparty%2Fopen-vm-tools.git Re-instate ASSERTS in circList.h --- diff --git a/open-vm-tools/lib/include/circList.h b/open-vm-tools/lib/include/circList.h index 383be8fce..4cecfe090 100644 --- a/open-vm-tools/lib/include/circList.h +++ b/open-vm-tools/lib/include/circList.h @@ -267,6 +267,9 @@ CircList_DeleteItem(ListItem *p, // IN { ListItem *next; + ASSERT(p != NULL); + ASSERT(headp != NULL); + next = p->next; if (p == next) { *headp = NULL;