Bug 145502 - ntop-3.2-3: 4 * buglets
Summary: ntop-3.2-3: 4 * buglets
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: All SUSE Other
: P5 - None : Minor
Target Milestone: ---
Assignee: Berthold Gunreben
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-25 14:27 UTC by David Binderman
Modified: 2006-01-26 13:08 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2006-01-25 14:27:39 UTC
I just tried to compile package ntop-3.2-3 with a non standard version of
the GNU C compiler.

It said

1.

ssl.c:307: warning: `return' with no value, in function returning non-void

The source code is

int term_ssl_connection(int fd) {
  int i, rc;

  if(!myGlobals.sslInitialized) return;

Suggest add expression to return statement.

2.

fcUtils.c:657: warning: array subscript out of range

The source code is

    entry->alias[MAX_LEN_SYM_HOST_NAME] = '\0';

3.

graph.c:2638: warning: array subscript out of range

The source code is

  p[MAX_FC_DOMAINS+1] = 0;

4.

pbuf.c:3321: warning: array subscript out of range

The source code is

                    serverName[MAX_LEN_SYM_HOST_NAME-2] = '\0';
Comment 1 Berthold Gunreben 2006-01-26 13:08:50 UTC
fixed in stable