D15826: [Balooshow] Avoid out-of-bounds access when accessing corrupt db data
Anthony Fieroni
noreply at phabricator.kde.org
Sat Sep 29 10:13:45 BST 2018
anthonyfieroni added inline comments.
INLINE COMMENTS
> main.cpp:217
> + int posOfNonNumeric = word.indexOf('-', 2);
> + if ((posOfNonNumeric < -1) || ((posOfNonNumeric + 1) == word.length())) {
> + stream << "Malformed property term (no data): " << word << "\n";
posOfNonNumeric < 0 or == -1 ?
REPOSITORY
R293 Baloo
REVISION DETAIL
https://phabricator.kde.org/D15826
To: bruns, #baloo, #frameworks
Cc: anthonyfieroni, kde-frameworks-devel, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180929/a2af0bbe/attachment.html>
More information about the Kde-frameworks-devel
mailing list