]> granicus.if.org Git - graphviz/commit
exit on failure of any of the lib/common malloc wrappers
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 2 Jun 2020 03:27:18 +0000 (20:27 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 22 Jun 2020 23:39:21 +0000 (16:39 -0700)
commit9f2b06c68a6a267bc3bf0bb64874f8d5790d973c
tree3526b858b3726e100bf92913f9a17f34e7f026f3
parentdaa45d65ed4784042375ea55780262137f3671d0
exit on failure of any of the lib/common malloc wrappers

Previously, when these wrappers exhausted memory they would return a null
pointer leading to follow on memory corruption and debugging confusion. It seems
simpler to just stop when we run out of memory as we have no reasonable recovery
path at this time.
CHANGELOG.md
lib/common/memory.c