Xymon Mailing List Archive search

SIGBUS in bbcombotest [solved...see diff]

list Nicolas Dorfsman
Wed, 5 Jul 2006 16:43:52 +0200
Message-Id: <user-26199c741dc1@xymon.invalid>

Le 5 juil. 06 à 16:21, Henrik Stoerner a écrit :
This patch is wrong; in some circumstances it will assign "result"  
to an
empty string, and then return a pointer that is past the end of the
empty string.
Correct. I did it quick.
Could you provide me with an example of what you have in the
bbcombotest.cfg file that triggers this problem ?
(c92-dc200.dns||c92-dc220.dns||c92-dc221.dns)

The problem is the "p+1" which may abort in SIGBUS.


Nicolas