Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005398 [Squeak 3.8] minor always 11-11-06 03:10 11-11-06 03:14
Reporter KenCausey View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0005398: Character>>asUnicode needs to handle possibility of charCode being out of range
Description This seems to apply to both 3.8-6665 and 3.8.1-6747:

Click the FIND button on the navigator tab and then Bob Superswiki in the project loader. You get an emergency evaluator and after clicking around a bit I was able to get a debugger. In Character>>asUnicode at

v _ table at: self charCode + 1.

self charCode return 9071 and 9072 is outside of the bounds of the table. I would guess that this method really needs to account for the case in which the charCode may be out of bounds.
Additional Information
Attached Files  CharacterAsUnicodeBounds-klc.1.cs.gz [^] (320 bytes) 11-11-06 03:14

- Relationships

- Notes
(0008187 - 62 - 62 - 62 - 62 - 62 - 62)
KenCausey
11-11-06 03:14

I have attached a simplistic but apparently workable solution.
 

- Issue History
Date Modified Username Field Change
11-11-06 03:10 KenCausey New Issue
11-11-06 03:14 KenCausey File Added: CharacterAsUnicodeBounds-klc.1.cs.gz
11-11-06 03:14 KenCausey Note Added: 0008187
06-06-07 02:33 wiz Relationship added child of 0006530
08-22-07 05:06 matthewf Relationship deleted child of 0006530


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
39 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker