- make fails if ps2pdf is not installed (using autotools) #1763
- multiple graphs to file output causes a segfault #1845
- lefty PTY functionality relies on file descriptor implementation details #1823
+- buffer overflow in fdpgen
## [2.44.1] - 2020-06-29
/* portName:
* Generate a name for a port.
- * We use the name of the subgraph and names of the nodes on the edge,
- * if possible. Otherwise, we use the ids of the nodes.
+ * We use the ids of the nodes.
* This is for debugging. For production, just use edge id and some
* id for the graph. Note that all the graphs are subgraphs of the
* root graph.
node_t *h = aghead(e);
node_t *t = agtail(e);
static char buf[BSZ + 1];
- int len = 8;
- len += strlen(agnameof(g)) + strlen(agnameof(h)) + strlen(agnameof(t));
- if (len >= BSZ)
- sprintf(buf, "_port_%s_%s_%s_%ld", agnameof(g), agnameof(t), agnameof(h),
- (uint64_t)AGSEQ(e));
- else
sprintf(buf, "_port_%s_(%d)_(%d)_%ld",agnameof(g), ND_id(t), ND_id(h),
(uint64_t)AGSEQ(e));
return buf;