Number: 498

Date:  4-Apr-84 12':06':16

Submitter: Sannella.PA

Source: vanMelle.pa

Subject: CHECK/MENU/IMAGE returns garbage if given non-MENU

Lisp Version: 

Description: '
Date':  3 Apr 84 17':08 PST'
From': vanMelle.pa'
Subject': Lisp': CHECK/MENU/IMAGE does not test for MENU type'
To': LispSupport.pa'
cc': vanMelle.pa'
'
Lisp System Date': 29-Mar-84 17':34':40'
Machine': Dorado (Archimedes)'
Microcode version': 24,4'
Memory size': 10000'
Frequency': Always'
Impact': Moderate'
'
If you give CHECK/MENU/IMAGE a non-menu, it returns garbage, often a pointer outside the virtual address space, which causes a map out of bounds error when you try to fetch fields out of it, or even typetest it for bitmap.  Specific instance of this awful behavior is that'
  (fetch (MENU IMAGEHEIGHT) of X)'
falls into Raid if X=NIL.'


Workaround: 

Test Case: 

Edit-By: Sannella.PA

Edit-Date: 16-Aug-84 12':52':41

Attn: 

Assigned To: Burton.pa

In/By: 

Disposition: '
[Date':  5 Apr 84 11':13 PST'
From': Burton.pa'
Subject': Re': AR 498': CHECK/MENU/IMAGE returns garbage if given non-MENU'
Fixed in next loadup.]'
'


System: Windows and Graphics

Subsystem: Window System

Machine: 

Disk: 

Microcode Version: 

Memory Size: 

File Server: 

Server Software Version: 

Difficulty: 

Frequency: Everytime

Impact: Moderate

Priority: Perhaps

Status: Closed

Problem Type: Bug

Source Files: