Hi, The cause of this bug is improper escaping in the entry for printing the date as a COMMENT in the graph. The ':' should be escaped in RRD strings.
Here's a diff which escapes the ':' in the date entries and thus fixes
this problem:
lanfear:/usr/share/amavis-stats# diff amavis-stats.php.orig amavis-stats.php
648c648,649
< $opts[] = "COMMENT:$enddate \\r";
---
> $opts[] = "COMMENT:" . str_replace(":", "\:", $enddate) . " \\r";
>
772c773,774
< $opts[] = "COMMENT:$enddate \\r";
---
> $opts[] = "COMMENT:" . str_replace(":", "\:", $enddate) . " \\r";
>
Regards,
Teun Vink
signature.asc
Description: This is a digitally signed message part

