Bug 145806 - OpenIPMI-1.4.19-7: 5 * array subscript out of range
Summary: OpenIPMI-1.4.19-7: 5 * array subscript out of range
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: Torsten Duwe
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-26 12:15 UTC by David Binderman
Modified: 2006-03-09 16:55 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-26 12:15:06 UTC
I just tried to compile package OpenIPMI-1.4.19-7 with the Intel C compiler.

It said

1.

ipmi.c(1113): warning #175: subscript out of range

The source code is

	p->username[16] = '\0';

but

    char            username[16];

2.

ipmi.c(1194): warning #175: subscript out of range

The source code is

        p->username[16] = '\0';

3.

ipmi.c(1197): warning #175: subscript out of range

The source code is

        p->password[16] = '\0';

4.

ipmi.c(1312): warning #175: subscript out of range
ipmi.c(1313): warning #175: subscript out of range

The source code is

	p->str_port[2] = ipmi_strdup(args[*curr_arg]);
	if (p->str_port[2] == NULL) {
Comment 1 Torsten Duwe 2006-03-09 16:55:23 UTC
Check out the current version, it has improved a lot.