Bug 152044

Summary: ppp-2.4.3-22: array subscript out of range
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Hendrik Vogelsang <hvogel>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2006-02-18 12:36:13 UTC
I just tried to compile package ppp-2.4.3-22 with a non standard version
of the GNU C compiler.

It said

passprompt.c:64: warning: array subscript out of range

The source code is

        char *argv[4], fdstr[32];

		/* ... */

        argv[4] = 0;

so argv[ 4] does not exist. Suggest make array one bigger.
Comment 1 Hendrik Vogelsang 2006-02-20 12:42:42 UTC
ppp is actively developed. report it upstream