Code

ceph plugin: Rewrite the BUFFER_ADD() macro.
authorFlorian Forster <octo@collectd.org>
Sun, 14 Aug 2016 19:36:27 +0000 (21:36 +0200)
committerFlorian Forster <octo@collectd.org>
Sun, 14 Aug 2016 19:36:50 +0000 (21:36 +0200)
commit9f0083d83892fc93f71b74ab1344e8bfa44f0259
treec304c0109132c7326d9ce5ec00f8b1fffbba64f4
parent29a10f64032714e560e59aca9b29905888f4399a
ceph plugin: Rewrite the BUFFER_ADD() macro.

I'm hoping that this fixes a potential integer underrun that may occur
when unconditionally subtracting strlen(dest) from sizeof(dest).

Issue: #1835
src/ceph.c