http://rpg.hamsterrepublic.com/bugzilla/show_bug.cgi?id=754

Mike Caron <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |FIXED

--- Comment #7 from Mike Caron <[email protected]> 2009-10-15 22:09:08 PDT 
---
The problem is that it's failing on an invalid handle. There really are only
two possible solutions for the engine:

1. Crash and burn (existing behaviour, undesirable)

2. Do nothing

Since #1 is unacceptable, you have to do #2. Seems easy to me.

----

The problem of people using/misunderstanding handles is an related, but
distinct issue, and can't really be programmed around...

----

Oh, and I meant to comment on this, but forgot about it until now:

> Hmmm... Oh! if I recall correctly, pointers inside WITH clauses are
> fundamentally unreliable for code outside the WITH block, so I wonder if that
> "RETURN .parent" is causing this... although then I wonder why any slice would
> ever have worked... :P

No, this is not the case. Remember: In spite of their ability to warp
space-time around them (spawning demon-bugs and the like) when mis-handled,
they're just numbers. Unless you somehow stuff-up the hidden WITH pointer
somehow, I doubt this could ever fail.

(assuming the pointer being dereferenced is a valid pointer to a Slice, and not
a random memory address, and assuming the members of the Slice are valid, and
not random memory addresses)

-- 
Configure bugmail: 
http://rpg.hamsterrepublic.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to