psineur/NSObject-AutomagicCoding — Issue #19: KVC can corrupt NSObjects isa.
Author: psineur
Created: 2012-01-14 08:50:08+00:00
State: open
Labels: ATTENTION, NOT-AMC-BUG

When getting struct value with valueForKey: via property's/method name (not via ivar name) - isa pointer can be changed (sic!).

It happens only on iOS device - not on Mac or Simulator.
Detected on iPhone 4 with iOS 4.3.2 & iPod Touch with iOS 4.3.1