ceph plugin: Refactor ceph_cb_number().
authorFlorian Forster <octo@collectd.org>
Wed, 2 Dec 2015 19:37:28 +0000 (20:37 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 2 Dec 2015 19:37:28 +0000 (20:37 +0100)
commit380959068f87619143e98c52399847eb761fb222
tree0cf76e6d6c0c8b1443c166db3d5a84cacb65453e
parent4c30f47794046ec7c8dfb5e1d41d03633032bac7
ceph plugin: Refactor ceph_cb_number().

The previous implementation was very prone to buffer overflows.

Fixes: #1350
src/ceph.c