Bug 80763 - possibly broken source code
possibly broken source code
Product: Red Hat Linux
Classification: Retired
Component: mtools (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2002-12-30 18:48 EST by d.binderman
Modified: 2007-04-18 12:49 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-12-10 12:04:05 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 2002-12-30 18:48:58 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.6 [en-gb]C-CCK-MCD NetscapeOnline.co.uk  (Win98; I)

Description of problem:

Hello there,

I have just tried to compile mtools-3.9.8-5 from Redhat 8.0

Here are some of the messages the compiler produces

cc: Info: mformat.c, line 976: In this statement, an array is being accessed outside the bounds specified for the array type. (subscrbounds)

The code in question seems to be

	set_word(boot->jump + 510, 0xaa55);

It's a mystery to me what's going on here. Maybe you can make more progress
with this than I can.

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

How reproducible:

Steps to Reproduce:
1. compile with any C compiler which checks array indices, such as Compaq C.

Additional info:
Comment 1 Tim Waugh 2004-12-10 12:04:05 EST
I'm not going to mess about with this, since it seems to be "magic" and doesn't
cause any ill effects that I have seen.

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