Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 114289 - subscript out of range
subscript out of range
Product: Fedora
Classification: Fedora
Component: gpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Eido Inoue
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2004-01-26 05:44 EST by d.binderman
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-02-19 08:05:56 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description d.binderman 2004-01-26 05:44:31 EST
Description of problem:

I just tried to compile package gpm-1.20.1-38 from Redhat
Fedora Core 1.

The compiler said


mice.c(2115): warning #175: subscript out of range

The source code is

      if (gunze_calib[1] == gunze_calib[4]) calibok = 0;

but earlier in the code is

static int gunze_calib[4]; /* x0,y0 x1,y1 (measured at 1/8 and 7/8) */

Clearly broken code. Suggest code re-work.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Florian La Roche 2004-02-19 08:05:56 EST
Fixed in newest rawhide rpm.

Thanks for the bug-report,

Florian La Roche

Note You need to log in before you can comment on or make changes to this bug.