]> granicus.if.org Git - graphviz/commit
use a dynamic buffer when expanding text replacements
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 15 Aug 2020 21:13:34 +0000 (14:13 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 20 Aug 2020 14:40:31 +0000 (07:40 -0700)
commit31bab037c9bfde3bd18e06b5ab878c09de265ccf
tree8fcf0dc90b827604282d3a10e56f089998ddb50c
parent60de2664174bc5d6ab4c8831b3318189e3889e00
use a dynamic buffer when expanding text replacements

This change is intended to guard against bugs like that fixed in
fbefeb31989130c48b965cc9a2f0ad0cac07015c. The buffer used to construct the
result string now dynamically expands so we do not need to manually calculate
its extent in advance. Related to #1676.
lib/common/labels.c