Bug 161300 - array subscript out of range
array subscript out of range
Status: CLOSED CANTFIX
Product: Fedora
Classification: Fedora
Component: mozilla (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Christopher Aillon
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-22 02:40 EDT by David Binderman
Modified: 2008-02-01 09:36 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-02-01 09:36:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Binderman 2005-06-22 02:40:02 EDT
Description of problem:

I just tried to compile package mozilla-1.7.8-2 from Redhat
Fedora Core development tree with a new development version of the
GNU C compiler.

The compiler said

txXSLTNumberCounters.cpp:200: warning: array subscript out of range

The source code is

    PRUnichar buf[11];
    buf[11] = 0;

Clearly broken code. buf[11] doesn't exist. Suggest either make the
buffer bigger, or change the index from 11 to 10.



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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Matěj Cepl 2008-02-01 09:36:39 EST
Fixed long time ago, no idea when.

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