https://bugs.documentfoundation.org/show_bug.cgi?id=117444

--- Comment #8 from Noel Grandin <noelgran...@gmail.com> ---

Good spotting!

If m_nBlock is 1, then m_nCur must be 0, and we should use the very first block
of logic in that function, and exit early.

Unless some higher level code is asking for a position that does not exist, in
which case we would fall through to the binary search, and trigger an access
violation by dereferencing a null pointer.

So the real bug is somewhere higher up the call stack.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to