aboutsummaryrefslogtreecommitdiffstats
path: root/net/rrdtool
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2004-05-11 14:50:49 +0800
committerdemon <demon@FreeBSD.org>2004-05-11 14:50:49 +0800
commiteb7bd2749298d7e92aadfacd75d6632846bc9daa (patch)
tree721863d6298f325f65c70045341cb602fa06e62e /net/rrdtool
parent24cf8611ea1d0d3e0aa6bd7d698cfd9c3b629d8c (diff)
downloadfreebsd-ports-gnome-eb7bd2749298d7e92aadfacd75d6632846bc9daa.tar.gz
freebsd-ports-gnome-eb7bd2749298d7e92aadfacd75d6632846bc9daa.tar.zst
freebsd-ports-gnome-eb7bd2749298d7e92aadfacd75d6632846bc9daa.zip
Avoid coredump in 'rrdtool graph -X <param>'
Submitted by: "Leonid A. Lyamanov" <leonas@demos.su>
Diffstat (limited to 'net/rrdtool')
-rw-r--r--net/rrdtool/files/patch-rrd_graph.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/rrdtool/files/patch-rrd_graph.c b/net/rrdtool/files/patch-rrd_graph.c
new file mode 100644
index 000000000000..2ba5c0859e60
--- /dev/null
+++ b/net/rrdtool/files/patch-rrd_graph.c
@@ -0,0 +1,11 @@
+--- src/rrd_graph.c.orig Fri May 7 15:10:16 2004
++++ src/rrd_graph.c Fri May 7 15:10:34 2004
+@@ -2966,7 +2966,7 @@
+
+
+ opt = getopt_long(argc, argv,
+- "s:e:x:y:v:w:h:iu:l:rb:oc:t:f:a:zgjFYAMXL:S:RB:O:U:",
++ "s:e:x:y:v:w:h:iu:l:rb:oc:t:f:a:zgjFYNAMX:L:S:RB:O:U:",
+ long_options, &option_index);
+
+ if (opt == EOF)