Fixes https://gitlab.com/graphviz/graphviz/-/issues/1994.
count #1984
- & escape disappearing #797
- miscalculation of minimum rank on large graphs
+- AddressSanitizer: strcpy-param-overlap in gvconfig_libdir when
+ running dot -c #1994
## [2.47.0] - 2021-03-15
/* Check for real /lib dir. Don't accept pre-install /.libs */
if (strcmp(strrchr(path,'/'), "/.libs") == 0)
continue;
- strcpy(line, path); /* use line buffer for result */
+ memmove(line, path, strlen(path) + 1); /* use line buffer for result */
strcat(line, "/graphviz"); /* plugins are in "graphviz" subdirectory */
libdir = line;
break;