That's part of this:

char* getOSFlag(HostTraffic *el, char *elOsName, int showOsName, char
*tmpStr, int tmpStrLen) {
...
  if(!showOsName) {
    if(flagImg != NULL) {
      safe_snprintf(__FILE__, __LINE__, tmpStr, tmpStrLen, "%s", flagImg);
    } else
      tmpStr[0] = '\0';
  } else {
    if(flagImg != NULL) {
>>>>  safe_snprintf(__FILE__, __LINE__, tmpStr, tmpStrLen, "%s [%s]",
flagImg, theOsName);
    } else {
      safe_snprintf(__FILE__, __LINE__, tmpStr, tmpStrLen, "%s", theOsName);
    }
  }
... 

But it's called from a dozen places.

What can you tell me about the host?  What page, what is in the html (do a
view source) around the busted host link, etc.?

-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, July 12, 2005 2:33 PM
To: [email protected]
Cc: [email protected]
Subject: RE: [Ntop] Buffer too short

Hello Burton,

> we need to know precisely which version you are running
I'm running version 3.1.

G

> No - read the back traffic on this list (e.g. the thread including
> http://listgateway.unipi.it/pipermail/ntop/2005-February/009716.html) ...
> but to fix it, we need to know precisely which version you are running 
> (source lines move around from version to version and even day to day).
>
> -----Burton
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf 
> Of [EMAIL PROTECTED]
> Sent: Tuesday, July 12, 2005 10:42 AM
> To: [EMAIL PROTECTED]
> Subject: [Ntop] Buffer too short
>
> Hello,
>
> I'm seeing in my log files the following error message related to 
> Ntop, does someone here have an idea about what could cause this 
> problem?
>
> **ERROR** Buffer too short @ reportUtils.c:790 (increase to at least 
> 138)
>
> Regards,
>
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop
>
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop
>


_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to