]> granicus.if.org Git - graphviz/commit
pathplan Pobspath: replace an unchecked array 'malloc' with 'gv_calloc'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 30 Jul 2022 16:50:18 +0000 (09:50 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 5 Aug 2022 13:52:10 +0000 (06:52 -0700)
commite99bf5094c2c60526ae2f5c70c3b6c862d79d1f9
tree8303f1a232fd5db72fea163860989f89074b91a5
parentd3442b4b496dcbe05a3d40c85c515bfd80a4e2d7
pathplan Pobspath: replace an unchecked array 'malloc' with 'gv_calloc'

This function has no way of reporting failure to the caller. So this turns an
allocation failure from a messy crash into a more graceful exit.
lib/pathplan/cvt.c