Bug 245535

Summary: mlterm-2.9.3.20070123-3 : array subscript is below array bounds
Product: [openSUSE] openSUSE 10.3 Reporter: David Binderman <dcb314>
Component: OtherAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 1   
Target Milestone: ---   
Hardware: All   
OS: SUSE Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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 ***