| Index: runtime/vm/os_linux.cc
|
| diff --git a/runtime/vm/os_linux.cc b/runtime/vm/os_linux.cc
|
| index 12dd6461b5977058b12ec1b30ed71d765d34899c..7f5eff7eb2217004ea66d48c1e540654946dc1f0 100644
|
| --- a/runtime/vm/os_linux.cc
|
| +++ b/runtime/vm/os_linux.cc
|
| @@ -19,6 +19,7 @@
|
| #include <fcntl.h> // NOLINT
|
| #include <unistd.h> // NOLINT
|
|
|
| +#include "platform/memory_sanitizer.h"
|
| #include "platform/utils.h"
|
| #include "vm/code_observers.h"
|
| #include "vm/dart.h"
|
| @@ -321,6 +322,7 @@ int OS::SNPrint(char* str, size_t size, const char* format, ...) {
|
|
|
|
|
| int OS::VSNPrint(char* str, size_t size, const char* format, va_list args) {
|
| + MSAN_UNPOISON(str, size);
|
| int retval = vsnprintf(str, size, format, args);
|
| if (retval < 0) {
|
| FATAL1("Fatal error in OS::VSNPrint with format '%s'", format);
|
|
|