Is it possible to determine if you've read past the end of a va_list? As far as I can tell, when you go past the end of the list, va_arg returns a pointer that is not NULL, but it is bogus. When this pointer is passed to one of the string api's, the emulator throws a bus error. The value of the pointer is 03FD0000, but I assume that it is not safe to check against that.
I've read in the archives that there is no good way to validate a pointer once it's been allocated. Is there any way to validate the result of va_arg? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
