Bug 245535 - mlterm-2.9.3.20070123-3 : array subscript is below array bounds
Summary: mlterm-2.9.3.20070123-3 : array subscript is below array bounds
Status: RESOLVED DUPLICATE of bug 240922
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Other (show other bugs)
Version: Alpha 1
Hardware: All SUSE Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-14 18:44 UTC by David Binderman
Modified: 2007-02-14 18:51 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 2007-02-14 18:44:17 UTC
I just tried to compile package mlterm-2.9.3.20070123-3
with the GNU C compiler version 4.3 snapshot 20070209.

The compiler said

x_dnd.c:241: warning: array subscript is below array bounds

The source code is

        src[len-1] = '\0'; /* force termination for malicious peers */

but

	parse_mlterm_config( win, buffer, 0) ;

Suggest code rework.
Comment 1 Mike Fabian 2007-02-14 18:51:32 UTC

*** This bug has been marked as a duplicate of bug 240922 ***