Bug 152205 - TeX-Guy-1.2.4-413: array subscript out of range
Summary: TeX-Guy-1.2.4-413: array subscript out of range
Status: RESOLVED FIXED
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: Mike Fabian
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-20 10:56 UTC by David Binderman
Modified: 2006-02-20 17:20 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
bugzilla-152205-array-subscript-out-of-range.patch (428 bytes, patch)
2006-02-20 17:17 UTC, Mike Fabian
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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).