Bug 134677

Summary: tkdesk-2.0-6: array subscript out of range
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Reinhard Max <max>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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.