On 10/17/07, Roger Hui <[EMAIL PROTECTED]> wrote:
> memr 1 0 _1   also crashes and in general   memr addr,offset,_1
> crashes for lots of different combinations of addr and offset.
> Can't check for everything.

Yes, but 0 is special -- it's the null pointer.  1 on the other hand is
not a valid pointer value on any modern machine.

> Don't you get addr and offset from somewhere?  Perhaps they
> should be checked at that point if you want to check them.

Sure -- in this case, I got it from glGetString, which always
returns either a valid string reference or a null pointer.

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to