[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

msgcache 4.2.0 core dumps on AIX 5.3



We are running a passive Xymon client 4.2.0 with msgcache enabled on AIX 
5.3. msgcache exits with an IOT/Abort trap when receiving messages. The 
following patch to msgcache.c fixes this problem:

230c230
<                                       char idx[20];
---
>                                       char idx[40];
232c232
<                                               STRBUFLEN(mwalk->msgbuf), 
(long)(now - mwalk->tstamp));
---
> (int)STRBUFLEN(mwalk->msgbuf), (long)(now - mwalk->tstamp));
529c529
<                       int caddrsize;
---
>                       socklen_t caddrsize;

Best regards,
Johannes