]> granicus.if.org Git - graphviz/commit
cgraph tok: add extra check for duplicate separator characters
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 14 Jul 2022 14:58:17 +0000 (07:58 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 22 Jul 2022 00:41:57 +0000 (17:41 -0700)
commit3124dcdd2c947b0ff601ba11013965f3cf565f65
tree265481ba78e94cb8f1f6182585593b2cbc538efd
parent68b2e24a5ac789a40d01dc821a5a02a1747b9911
cgraph tok: add extra check for duplicate separator characters

When a user supplies the same character more than once when constructing a
tokenizer, nothing is functionally incorrect but this is strong indicator of a
bug or misunderstanding by the caller. For example, a bug like this is
documented in #2259.
lib/cgraph/tokenize.h