Bug 134890

Summary: transconnect-1.2-263: 2 8 array subscript out of range
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Lars Müller <lmuelle>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2005-11-22 12:49:55 UTC
I just tried to compile package transconnect-1.2-263 with the Intel C compiler.

It said

1.

tconn.c(200): warning #175: subscript out of range

The source code is

      configfile[CONFIG_FILE_MAX] = '\0';

but

  char configfile[CONFIG_FILE_MAX];     /* Name of the configuration file */

Suggest code rework.

2.

tconn.c(218): warning #175: subscript out of range

Duplicate.


BTW, the email address of the author [ a_dwivedi@biosys.net ]
seems to be broken.
Comment 1 Lars Müller 2005-11-22 14:41:53 UTC
Thanks for the heads up.  I've fixed these two and another small one in our tree.  I'll also try to inform upstream.