[FIX] FFIFileInFix-eldeh

Lars Dornheim Lars.Dornheim at Student.Uni-Magdeburg.DE
Mon Jul 21 14:17:05 UTC 2003


from preamble:

"Change Set:		FFIFileInFix-eldeh
Date:			21 July 2003
Author:			Lars Dornheim

This change set fixes a serious bug when filing in a FFI wrapper class for
a C struct having a pointer field refering to the type of its
owner. Typically such struct types are used for nodes of dynamic list etc.

The problem was a bug in computing the byte size of the C struct. The size
of the self refering pointer field was not assumed as the current pointer
type size as it should be, but instead the size of the owner struct was
computed recursively until a stack overflow occured."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FFIFileInFix-eldeh.cs.gz
Type: application/octet-stream
Size: 1205 bytes
Desc: 
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030721/1ace7c3d/FFIFileInFix-eldeh.cs.obj


More information about the Squeak-dev mailing list