Permalink
Browse files

Merge pull request #15 from reznor/master

gmetad buffer overflow with metric value of DOUBLE_MAX
  • Loading branch information...
2 parents 30d7486 + 4dc3ec3 commit 9179af46e45245d6059b7f8dd16a7308f31be234 @vvuksan vvuksan committed Feb 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 gmetad/process_xml.c
@@ -1058,7 +1058,7 @@ finish_processing_source(datum_t *key, datum_t *val, void *arg)
{
xmldata_t *xmldata = (xmldata_t *) arg;
char *name, *type;
- char sum[256];
+ char sum[512];
char num[256];
Metric_t *metric;
struct type_tag *tt;

0 comments on commit 9179af4

Please sign in to comment.