Hi Jacob, Thanks for the bug report and detailed analysis. > HOW TO FIX: > 1) Intead of calling XNEW call XCNEW that calls calloc instead of malloc. > This will ensure that the inequality will fail. Agreed, and simple is better as far as I am concerned, so I have checked in this solution. Cheers Nick