]> git.itanic.dy.fi Git - rrdd/commit
rrdtool: Fix use of uninitialized buffers in string operations
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sat, 25 Apr 2020 14:49:26 +0000 (17:49 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sat, 25 Apr 2020 14:49:26 +0000 (17:49 +0300)
commit2f440ba4a1e5f559d66a51b51aaf6a98469a3c01
tree70798efe32770a0280df13e97b5fd26620770fe8
parente2dabbb0edbebc6e107ed8e8c385fa624ed79a04
rrdtool: Fix use of uninitialized buffers in string operations

The code is completely mess, referring to incorrect buffers as it is
calculating the size of the buffer. This wouldn't be problem as both
buffers are same length, but for some reason the code is also using
strlen() for something.

Fix up the mess.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
rrdtool.c