Cacti 0.8.7h poller output incorrectly interpreted

Following a recent upgrade of cacti from 0.8.7g to 0.8.7h i noticed a problem with the poller output. When the poller attempts to parse the output in order to generate rrdtool update command, the output is incorrectly interpreted as a hexadecimal number and the resulting update command looks like this:

11/16/2011 08:55:35 AM – POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/lib/cacti/rra/server_520_333.rrd –template 1321433734:2.0177678937406E+118

This has been reported to cacti dev and resolved. The Patch is in snv:

http://svn.cacti.net/viewvc/cacti/branches/0.8.7/lib/functions.php?r1=6849&r2=6851

After applying the patch my apache status code output returned to normal.

11/16/2011 10:15:35 AM – POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/lib/cacti/rra/server_520_333.rrd –template 200:201:206:207:301:304:400:401:403:404:405:412:500:503:507 1321438534:19465:499:2:3680:14:4:3:2:4:633:1:300:85:7:4174