When getting struct value with memory footprint not multiple of 4 ( i.e. ccColor3B - 3 bytes) with valueForKey: via property's/method name (not via ivar name) - isa pointer can be changed (sic!).
Looks like it happens on iOS 4.3
Affected:
- iPhone 4 with iOS 4.3.2
- iPod Touch 4G with iOS 4.3.1
- iPad 2 with iOS 4.3.5
- 4.3 Simulator ( 5 bytes struct crashes, 4 bytes struct works ok)
Nonaffected:
- iPad 2 with iOS 5.0.1
- Mac OS X 10.7.2
- 5.0 Simulator