- Segfault in dot #1783
- Incorrect 'Arrow type "s" unknown' error #1444
- segfault on reading 0x10 #1724
+- Null-dereference READ (144736912) #1676
## [2.44.1] - 2020-06-29
--- /dev/null
+digraph G{
+eoe =0nnodeÏÅ\91
+ newrank=
+RD; noArtG_dba->i\8d¼q_bÿÿ
+ ,zWdic->\91,UTF-8qdic->n:i; noArtG_dba->i\8d¼q_bÿÿ
+ ,zWdic->\91,wÿÿadqdic->n:ie1.024W
+w,n nshaxxxw_\85sa\9d\9d\8c\9bwÍ##\eÜÜÜÜÜÜÜÜÜÜÜÜ\9cÜÜÜÜÜÜÜÜ B->digraph G{
+eoe =0pack=88 <a]ª[a selgraòÿÿÿÿÿÿpe sam-> _2ÿÖåååååååååååååååååååååååååååååååååååååååååååååååååÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ0 5rank=max}kw4ack=0rhph{PeÏÅ\91
+ newrank4W
+w,n\91,wÿÿadq\1cic!-
\ No newline at end of file
assert 'line 3:' in stderr, \
'GVPR did not identify correct line of syntax error'
+def test_1676():
+ '''
+ https://gitlab.com/graphviz/graphviz/-/issues/1676
+ '''
+
+ # locate our associated test case in this directory
+ input = os.path.join(os.path.dirname(__file__), '1676.dot')
+ assert os.path.exists(input), 'unexpectedly missing test case'
+
+ # run Graphviz with this input
+ ret = subprocess.call(['dot', '-Tsvg', '-o', os.devnull, input])
+
+ # this malformed input should not have caused Graphviz to crash
+ assert ret != -signal.SIGSEGV, 'Graphviz segfaulted'
+
def test_1724():
'''
passing malformed node and newrank should not cause segfaults