Hacker News new | past | comments | ask | show | jobs | submit login

No null checks in find. If source is null, dereferencing source[i] in the while condition will cause undefined behaviour. If just query is null, the same will occur in the first call to starts.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: