Bug 114289
| Summary: | subscript out of range | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | d.binderman |
| Component: | gpm | Assignee: | Eido Inoue <havill> |
| Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-02-19 13:05:56 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Fixed in newest rawhide rpm. Thanks for the bug-report, Florian La Roche |
Description of problem: I just tried to compile package gpm-1.20.1-38 from Redhat Fedora Core 1. The compiler said 1. 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: 1. 2. 3. Actual results: Expected results: Additional info: