From 77222de4f3fa487b1f7847632765c69eb35968a1 Mon Sep 17 00:00:00 2001 From: bocchino Date: Mon, 17 Jul 2023 15:52:53 -0700 Subject: [PATCH] Revise null pointer check in Serializable.cpp --- Fw/Types/Serializable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fw/Types/Serializable.cpp b/Fw/Types/Serializable.cpp index ec67ea618d..940db4b508 100644 --- a/Fw/Types/Serializable.cpp +++ b/Fw/Types/Serializable.cpp @@ -707,7 +707,7 @@ namespace Fw { } void ExternalSerializeBuffer::setExtBuffer(U8* buffPtr, NATIVE_UINT_TYPE size) { - FW_ASSERT(buffPtr); + FW_ASSERT(buffPtr != nullptr); this->m_buff = buffPtr; this->m_buffSize = size; }