<table><tr><td style="">aacid requested changes to this revision.<br />aacid added a comment.<br />This revision now requires changes to proceed.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D19123">View Revision</a></tr></table><br /><div><div><p>Something needs fixing</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">==27223== Conditional jump or move depends on uninitialised value(s)
==27223== at 0xFA1013F: Okular::TextPagePrivate::findTextInternalForward(int, QString const&, bool (*)(QStringRef const&, QStringRef const&), QList<TinyTextEntity*>::const_iterator const&, int, QList<TinyTextEntity*>::const_iterator const&, bool) (textpage.cpp:993)
==27223== by 0xFA0F53A: Okular::TextPage::findText(int, QString const&, Okular::SearchDirection, Qt::CaseSensitivity, Okular::RegularAreaRect const*, bool) (textpage.cpp:768)
==27223== by 0xF9F5FD3: Okular::Page::findText(int, QString const&, Okular::SearchDirection, Qt::CaseSensitivity, Okular::RegularAreaRect const*, bool) const (page.cpp:310)
==27223== by 0xF9A87F3: Okular::DocumentPrivate::doContinueDirectionMatchSearch(void*) (document.cpp:1673)
==27223== by 0xF9BF4E9: Okular::Document::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_document.cpp:370)
==27223== by 0x643A101: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.12.2)
==27223== by 0x5632E23: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.12.2)
==27223== by 0x563A5F0: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.12.2)
==27223== by 0x640EDF8: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/libQt5Core.so.5.12.2)
==27223== by 0x6411EE7: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (in /usr/lib/libQt5Core.so.5.12.2)
==27223== by 0x64656C3: ??? (in /usr/lib/libQt5Core.so.5.12.2)
==27223== by 0x81937BE: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.6000.0)</pre></div>
<p>This is valgrind tell us there's something uninitalized being used, what i did to get this</p>
<p>valgrind okular<br />
open file<br />
Press Ctrl+F<br />
type something on the search bar</p>
<p>the "find whole words" was not checked because that's the state it originally was on starting okular.</p>
<p>Can you please try to fix this?</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19123">https://phabricator.kde.org/D19123</a></div></div><br /><div><strong>To: </strong>joaonetto, Okular, aacid<br /><strong>Cc: </strong>davidhurka, yurchor, aacid, ngraham, okular-devel, joaonetto, tfella, darcyshen<br /></div>