couchbase/fleece

Array.cc triggers libc assertion on Android for get( int )

borrrden opened this issue · 0 comments

This little trick triggers an assertion for index 0 because netbsd libc does not allow searching for null keys.

F libc : bionic/libc/upstream-netbsd/lib/libc/stdlib/bsearch.c:70: bsearch: assertion "key != NULL" failed