Bug 1449679 - Disable sentinel checking in IPC in debug fuzzing builds. r=jld
authorAlex Gaynor <agaynor@mozilla.com>
Wed, 28 Mar 2018 14:26:10 -0400
changeset 410634 e207f035fa3d7ba5cb542e793341baca862be6d3
parent 410633 6a806cbc25a763f24bf27c1beb5aeef8987282d8
child 410635 200ba8d2989253c995cfa93c8ad3e3a43546bc13
push id101550
push userryanvm@gmail.com
push dateThu, 29 Mar 2018 19:15:53 +0000
treeherdermozilla-inbound@e207f035fa3d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjld
bugs1449679
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1449679 - Disable sentinel checking in IPC in debug fuzzing builds. r=jld
ipc/chromium/src/base/pickle.h
--- a/ipc/chromium/src/base/pickle.h
+++ b/ipc/chromium/src/base/pickle.h
@@ -16,17 +16,17 @@
 #include "mozilla/Attributes.h"
 #include "mozilla/BufferList.h"
 #include "mozilla/mozalloc.h"
 #include "mozilla/TimeStamp.h"
 #ifdef FUZZING
 #include "base/singleton.h"
 #include "mozilla/ipc/Faulty.h"
 #endif
-#if (!defined(RELEASE_OR_BETA) && !defined(FUZZING)) || defined(DEBUG)
+#if !defined(FUZZING) && (!defined(RELEASE_OR_BETA) || defined(DEBUG))
 #define MOZ_PICKLE_SENTINEL_CHECKING
 #endif
 class Pickle;
 class PickleIterator {
 public:
   explicit PickleIterator(const Pickle& pickle);
 
 private: