Bug 80763

Summary: possibly broken source code
Product: [Retired] Red Hat Linux Reporter: d.binderman
Component: mtoolsAssignee: Tim Waugh <twaugh>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-10 17:04:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description d.binderman 2002-12-30 23:48:58 UTC
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 17:04:05 UTC
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.