From 963ea81c470181470ba8f3260c43d171fc403902 Mon Sep 17 00:00:00 2001 From: oetiker Date: Sun, 3 Apr 2005 11:11:21 +0000 Subject: [PATCH 1/1] make sure the font path is shorter than the buffer git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@332 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 37e1961..3be36d0 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -2978,7 +2978,7 @@ rrd_graph_options(int argc, char *argv[],image_desc_t *im) char font[1024]; if(sscanf(optarg, - "%10[A-Z]:%lf:%s", + "%10[A-Z]:%lf:%1000s", prop,&size,font) == 3){ int sindex; if((sindex=text_prop_conv(prop)) != -1){ -- 2.11.0