Bug 152044 - ppp-2.4.3-22: array subscript out of range
Summary: ppp-2.4.3-22: array subscript out of range
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: All SuSE Linux 10.1
: P5 - None : Normal
Target Milestone: ---
Assignee: Hendrik Vogelsang
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-18 12:36 UTC by David Binderman
Modified: 2006-02-20 12:42 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-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