Comment 1 for bug 707393

Revision history for this message
Rolf Biesbroek (r-biesbroek) wrote :

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