freebsd-ports/textproc/heirloom-doctools/files/patch-troff_troff.d_dpost.d_draw.c
Hiroki Sato a325abe66b - Fix bugs which could cause SIGSEGV.
- Fix an odd error message "sort: file not found".
  It was not harmful but confusing.
- Increase the maximum number of vertexes in a spline curve.
  100 vertexes were too small in modern environments.
- Use _PATH_* wherever possible.
2017-03-30 23:54:24 +00:00

11 lines
208 B
C

--- troff/troff.d/dpost.d/draw.c.orig 2016-03-09 21:27:38 UTC
+++ troff/troff.d/dpost.d/draw.c
@@ -348,7 +348,7 @@ drawspline(
{
- int x[100], y[100];
+ int x[5000], y[5000];
int i, N;