gmetad: fortify write_data_to_rrd against possible overflows
gmetad: fortify write_data_to_rrd against possible overflows

as reported in BUG247 by Alerto Passalacqua, the use of strncat or strcpy
on this function could lead to an overflow (as reported by gcc from the
OpenSuSE build service)


git-svn-id: 27e0aca8c7a52a9ae65dfba2e16879604119af8c@2159 93a4e39c-3214-0410-bb16-828d8e3bcd0f

fastly/ganglia,fastly/ganglia,fastly/ganglia,fastly/ganglia,fastly/ganglia