mikeash.com: just this guy, you know?

NSBlog
RSS feed (full text feed)

link nsoperationqueue(2) osbug(4) security(2) strnstr(2) tiger

Showing entries tagged "osbug". Full blog index.

Use NSOperationQueue at 2009-05-12 21:18
Tags: nsoperationqueue osbugMac OS X 10.5.7 has shipped and includes a fix for the NSOperationQueue bug that I discovered late last year. I have run all of my old test cases against 10.5.7 and it appears to perform as advertised. As far as I can see, NSOperationQueue is now safe to use. I'm glad that my prediction of no fix until Snow Leopard turned out to be wrong. Enjoy!
(Read More) 4 comments

Don't Use NSOperationQueue at 2008-11-30 23:36
Tags: nsoperationqueue osbugI've been discussing this on cocoa-dev but wanted to make a separate post about it to get the word out further. NSOperationQueue is broken on Leopard and will cause crashes. Don't use it!
(Read More) 38 comments

Use strnstr at 2008-03-18 20:49
Tags: strnstr security tiger link osbugA few months ago I told everyone not to use strnstr. This bug was fixed in Leopard, but persisted in Tiger. Today, Apple finally fixed it in Tiger. Now you can safely use strnstr. I assume that this bug probably still exists on Panther and earlier, but as long as you're targeting Tiger and up (as every sane person ought to), you are now safe.
(Read More) 0 comments

Don't use strnstr at 2007-09-26 00:00
Tags: osbug strnstr security The strnstr function is broken on Mac OS X 10.4 (and presumably earlier) and should be avoided.