Re: [Pyobjc-dev] Bus Error involving NSFormatter and a method with returns by reference
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2006-03-08 20:05:42
|
On 8-mrt-2006, at 20:51, Ronald Oussoren wrote: > Phil, > > This seems to be a bug in PyObjC. I can reproduce this using the > attached project and am currently looking into this. And I've solved the bug. The problem is that the user of the formatter doesn't actually want the error message and passes a NULL pointer to the method. Before my most recent checkin we happely dereferenced that pointer and wrote something there, resulting in random memory corruption. Ronald > > Ronald > > <Formatter.tgz> |