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 161300 - array subscript out of range
array subscript out of range
Product: Fedora
Classification: Fedora
Component: mozilla (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Christopher Aillon
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2005-06-22 02:40 EDT by David Binderman
Modified: 2018-04-11 03:49 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-01 09:36:39 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 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:
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.