]> granicus.if.org Git - graphviz/commit
cgraph: fix incorrect 'gv_recalloc' assertion
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 1 May 2022 01:13:17 +0000 (18:13 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 11 May 2022 05:24:16 +0000 (22:24 -0700)
commit637eba26cb0882a8a042dbeca34bb66bee28b2e4
tree46408dc7348f796b20417496dc5cfe0125f034b1
parente121268db535b298e61d0a06801f3c1ad4d3077c
cgraph: fix incorrect 'gv_recalloc' assertion

The assertion here was claiming that overflow _did_ occur when computing the
extent of the previous allocation rather than the reverse.
lib/cgraph/alloc.h