Comment 14 for bug 1370540

Revision history for this message
Adam Reichold (adamreichold) wrote : Re: Search within multiple DjVu files.

Hello Razi,

as discussed with Leon in DjVuLibre forum, we will need to serialize access to all DjVuLibre API (at least in its current version) using objects of type "miniexp_t". Why this has never affected Linux, nobody knows, but I'll add the necessary global mutex to trunk. Could you give a try running Windows?

Best regards, Adam.

P.S.: We introduced an out-of-bounds access in "DjVuPage::search", i.e. we could call "word.at(index)" if "index == word.length()". Should be fixed as well.