blob: f516950c864c21f1f7465e905c323f8a8a9589b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
=== modified file 'src/rrd_graph.c'
--- src/rrd_graph.c 2008-11-08 07:45:41 +0000
+++ src/rrd_graph.c 2008-11-08 07:47:06 +0000
@@ -3508,7 +3508,7 @@
if (size > 0){
im->text_prop[propidx].size=size;
}
- if (strlen(optarg) > end){
+ if (strlen(optarg) > end+2){
if (optarg[end] == ':'){
strncpy(im->text_prop[propidx].font,optarg+end+1,255);
im->text_prop[propidx].font[255] = '\0';
|