Bug 141227 - rasmol-2.7.3-2: array subscript out of range
Summary: rasmol-2.7.3-2: 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: Ladislav Michnovic
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-03 13:28 UTC by David Binderman
Modified: 2006-11-09 12:33 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-03 13:28:50 UTC
I just tried to compile package rasmol-2.7.3-2 with the Intel
C compiler

It said

multiple.c(528): warning #175: subscript out of range

The source code is

	MolName[i][MAX_MOLNAME]='\0';

but

char  MolName[MAX_MOLECULES][MAX_MOLNAME];

so MolName[i][MAX_MOLNAME] does not exist. Suggest code rework.
Comment 1 Ladislav Michnovic 2006-01-09 14:22:52 UTC
I'll take a look at it. Thank you for reporting bugs.
Comment 2 Ladislav Michnovic 2006-01-30 18:20:56 UTC
Code reworked.
Comment 3 David Binderman 2006-11-07 17:37:50 UTC
(In reply to comment #2)
> Code reworked.

I just had a look at the version in Suse Linux 10.2 BETA 1
and the bug still seems to me to exist.

Perhaps time to look at it again ?



Comment 4 Ladislav Michnovic 2006-11-08 13:29:13 UTC
You're right.
Comment 5 Ladislav Michnovic 2006-11-09 12:33:21 UTC
Now should be really fixed. Check out RC1.