Viewing Issue Simple Details
[ Jump to Notes ]
|
[ View Advanced ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0005891 |
[Squeak Packages] FFI |
crash |
always |
01-31-07 22:38 |
04-08-10 14:32 |
|
Reporter |
matthewf |
View Status |
public |
|
Assigned To |
andreas |
Priority |
normal |
Resolution |
open |
|
Status |
assigned |
|
|
|
|
Summary |
0005891: [FIX] [BUG] Instances of ExternalType are not copy-protected |
Description |
Instances of ExternalType should never be created; however, this can by bypassed by copying. More critically, calling deepCopy on an ExternalType results in an infinite recursive loop, leading to memory exhaustion. This happens because the instance variable referenceType points (eventually) to self. Attached is a change set that fixes the problem, I believe. |
Additional Information |
|
|
Attached Files |
ExternalTypesCopyProtect.1.cs [^] (1,194 bytes) 01-31-07 22:38 |
|