D12336: Replace several Q_ASSERTs with proper checks

Stefan BrĂ¼ns noreply at phabricator.kde.org
Thu Apr 19 00:51:40 UTC 2018


bruns created this revision.
bruns added reviewers: Baloo, michaelh.
Restricted Application added projects: Frameworks, Baloo.
Restricted Application added a subscriber: Frameworks.
bruns requested review of this revision.

REVISION SUMMARY
  The code has some preconditions on supplied values when interacting
  with the DB. Instead of silently corrupting the DB with bogus values
  when using non-debug builds, check any provided arguments.

REPOSITORY
  R293 Baloo

BRANCH
  db_robustness2

REVISION DETAIL
  https://phabricator.kde.org/D12336

AFFECTED FILES
  src/engine/documenturldb.cpp

To: bruns, #baloo, michaelh
Cc: #frameworks, ashaposhnikov, michaelh, astippich, spoorun, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180419/d9efc656/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list