mikeash.com: just this guy, you know?

"A failure in the hot air department"
RSS feed (full text feed) - Show Tag Cloud
Showing entries tagged "strnstr". Full blog index.

Use strnstr at 2008-03-18 20:49
by Mike AshTags: strnstr security tiger link osbug
A 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.

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