Bug 152205

Summary: TeX-Guy-1.2.4-413: array subscript out of range
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Mike Fabian <mfabian>
Status: RESOLVED FIXED 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: ---
Attachments: bugzilla-152205-array-subscript-out-of-range.patch

Description David Binderman 2006-02-20 10:56:42 UTC
I just tried to compile package TeX-Guy-1.2.4-413 with a non standard
version of the GNU C compiler.

It said

gui-buff.c:103: warning: array subscript out of range

The source code is

  static char *titles[3];
  /* ... */

  titles[3] = NULL;

Suggest make array titles one bigger.
Comment 1 Mike Fabian 2006-02-20 17:16:07 UTC
Fixed package submitted to STABLE.
Comment 2 Mike Fabian 2006-02-20 17:17:21 UTC
Created attachment 69377 [details]
bugzilla-152205-array-subscript-out-of-range.patch

The used patch.
Comment 3 Mike Fabian 2006-02-20 17:20:56 UTC
The bug still exists in the latest upstream version (TeX-Guy-1.3.0).