author | Florian Forster <octo@noris.net> | |
Wed, 27 Aug 2008 10:08:33 +0000 (12:08 +0200) | ||
committer | Florian Forster <octo@noris.net> | |
Wed, 27 Aug 2008 10:08:33 +0000 (12:08 +0200) | ||
commit | c9a388f97676477d05b4bbc8b56bbdaed76c52b1 | |
tree | 81de33732c3cbf95f96d5001c069795f991ba236 | tree | snapshot |
parent | aec20e4438a754fe2df160e01adea9f1285fe8af | commit | diff |
snmp plugin: Fix an off by one error.
The last character of an table instance was truncated. Fortunately empty
strings were caught, so that uninitialized memory was never accessed.
This patch also reverts f782b378: If returning with an error when a string
is empty causes the entire read to fail.
The last character of an table instance was truncated. Fortunately empty
strings were caught, so that uninitialized memory was never accessed.
This patch also reverts f782b378: If returning with an error when a string
is empty causes the entire read to fail.
src/snmp.c | diff | blob | history |