cactid/spine - buffer Overflow on 64 bits sys

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Kro
Posts: 38
Joined: Thu Mar 27, 2008 11:39 am

Post by Kro »

Is anybody running spine successfully on linux 64bits ?

I will have to roll back on a 32 bits :/
Kro
Posts: 38
Joined: Thu Mar 27, 2008 11:39 am

Post by Kro »

I reinstalled my server with a linux 32bits version and get the same SNMP error with spine SVN version.

Then I roll back to spine 0.8.6.a. Everything is working fine now.

It seems that spine SVN is not stable yet ^^
cavver
Posts: 11
Joined: Tue Apr 24, 2007 3:17 am

Post by cavver »

I have foud a bug in spine running on 64bit Fedora8.

Code: Select all

snprintf(snmp_oids[j].result, 254, strip_alpha(trim(snmp_oids[j].result)));
on line 728 poller.c nixes a valid result.
A workaround for this is to declare a char tmp_string[256]; and replace line 728 with

Code: Select all

    snprintf(tmp_string, 254, strip_alpha(trim(snmp_oids[j].result)));
snprintf(snmp_oids[j].result, 254, tmp_string2);
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests