After debugging together with some colleagues, I found a solution for
this problem.

In the source code of report.c and snapshot.c (in the map ./web) there
is a declaration in the main function: "char htmldelim[20];". In the
same main function we can find: "                sprintf(htmldelim,
"xymonrep-%u-%u", (int)getpid(), (unsigned int)getcurrenttime(NULL));"

Because the size of "char htmldelim[20];" is not sufficient enough this
process will crash. I changed this char value into 100 and after a "make
&& make install" command the issue seems to be resolved!

Kind Regards,

Rolf Biesbroek
University Twente

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/707393

Title:
  buffer overflow detected for /usr/lib/hobbit/server/bin/bb-rep.cgi
  terminated

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to