[sword-devel] Crash in VersificationMgr::System::getBookCount (SWORD 1.8.1)

Karl Kleinpaste karl at kleinpaste.org
Thu Jun 14 14:39:01 MST 2018


On 06/14/2018 05:13 PM, Manfred Bergmann wrote:
> Can that be reproduced in Xiphos or other frontends?

No. Xiphos 4.1.0+ is happy with rusSYN1876eb.

The method is in src/mgr/versificationmgr.cpp and is not used by Xiphos
directly, and only by src/keys/versekey.cpp internally to Sword. If 'p'
is the problem, I can't see how, as it is tested before use.

int VersificationMgr::System::getBookCount() const {
    return (int)(p ? p->books.size() : 0);
}

Current as of -r3586 just now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20180614/e89e7c58/attachment.html>


More information about the sword-devel mailing list