]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Re-enable ASAN for DynBuf_Append()
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:35 +0000 (11:23 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:35 +0000 (11:23 -0700)
The problem is incorrectly instrumented callers.

open-vm-tools/lib/misc/dynbuf.c

index acae23d4449ff865447d0e943ae72f514f7973df..76b250a5d09b253b8ccee7e892bd9b7b175d4bac 100644 (file)
 #include "vmware.h"
 #include "dynbuf.h"
 
-#ifdef VMX86_SERVER
-#include "asan_common.h"
-#else
-#define DISABLE_ASAN
-#endif
-
 /*
  *-----------------------------------------------------------------------------
  *
@@ -337,8 +331,6 @@ DynBuf_Enlarge(DynBuf *b,       // IN/OUT:
  *-----------------------------------------------------------------------------
  */
 
-// XXX The instrumentation assumes that "data" points to the heap, PR 1826914.
-DISABLE_ASAN
 Bool
 DynBuf_Append(DynBuf *b,        // IN/OUT:
               void const *data, // IN: