]> granicus.if.org Git - graphviz/commit
Fix bug 1615. This removes the fixed-size buffer in parse_reclbl.
authorerg <devnull@localhost>
Mon, 30 Mar 2009 22:55:39 +0000 (22:55 +0000)
committererg <devnull@localhost>
Mon, 30 Mar 2009 22:55:39 +0000 (22:55 +0000)
commit7ac48e1557c0aaaa864648d74dbdc5b8f55389c3
tree267c335da3c3b35b0d5af1fecdaa2befdb03a9b1
parentdf972c30230df273e98c2b05dc82d4772ce99a25
Fix bug 1615. This removes the fixed-size buffer in parse_reclbl.
(You just can't trust users.)
The big buffer used for everything else is used for port names as
well. The port name is strduped and stored via tmpport until the
field is fully parsed. It is then attached to the field.

Also, in case of errors, the code now cleans up the partially constructed
field structure. Previously, this just became lost memory.
lib/common/shapes.c