realm/realm-cocoa — pull request #956 by tgoyne (2014-10-01 21:00:39+00:00)
Title: Throw an exception on NSData columns larger than can be stored

See #945.

Not a complete solution (either needs to be fixed or added to the documentation as a limitation), but this makes it at least not corrupt data when given an overly large NSData.

@alazier @jpsim