Rein Klazes wijn@wanadoo.nl writes:
I have no idea why it was not merged, never got any comments. Cc' ed to the developers list for suggestions. A re-diffed patch is attached.
IsBadReadPtr is broken and should never be used. You need to add an exception handler around the actual access.