From b9e801ce913e7b39c3faede19ba20b69f5d4afb8 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Thu, 7 Feb 2019 11:13:13 +0100 Subject: [PATCH] ENH: extend size of NullObject for safer reinterpret cast - previously had a single pointer/value zeros (8 bytes), this meant that the reinterpret cast to a List would yield a reference that could be unsafe under certain conditions. Eg, const labelList& myList = labelList::null(); Info<< myList.size() << nl; // OK since size is the first parameter SubList