Bug 134677 - tkdesk-2.0-6: array subscript out of range
Summary: tkdesk-2.0-6: array subscript out of range
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: All SuSE Linux 10.0
: P5 - None : Minor
Target Milestone: ---
Assignee: Reinhard Max
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-21 15:13 UTC by David Binderman
Modified: 2006-01-17 08:53 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 2005-11-21 15:13:46 UTC
I just tried to compile package tkdesk-2.0-6 with the Intel C compiler.

It said

dsk_ls.c(229): warning #175: subscript out of range

The source code is

    par_path[MAXPATHLEN] = (char) NULL;

but, earlier in the same file,

char par_path[MAXPATHLEN] = ""; /* path for which to list files */

Suggest code rework.

BTW, the email address of the author [ Christian.Bolik@Mainz.netsurf.de ] 
seems to be broken.
Comment 1 Reinhard Max 2006-01-17 08:53:07 UTC
Fixed for 10.1.