project-imas / encrypted-core-data

v2.0 - iOS Core Data encrypted SQLite store using SQLCipher
Other
785 stars 236 forks source link

Multi-arg predicates like BETWEEN cause crash #302

Open dstevick41 opened 6 years ago

dstevick41 commented 6 years ago

Multi-arg predicates like "BETWEEN %@ AND %@" cause a crash in stringWithFormat since only one arg is given (i.e. "?,?"). The obvious intent was to supply two args "?" and "?".