cbforest icon indicating copy to clipboard operation
cbforest copied to clipboard

JNI local-refs overflow

Open snej opened this issue 8 years ago • 0 comments

I found some more functions that can create an unlimited number of JNI local references, by converting an array of Java objects into a native array:

  • Java_com_couchbase_cbforest_DocumentIterator_initEnumerateSomeDocs
  • Java_com_couchbase_cbforest_Indexer_emit

These are subject to the same crash as in couchbase-lite-android#782. They can be fixed the same way as in #64.

snej avatar Feb 17 '16 19:02 snej