Diffusion Baloo 75db0004ad02

Replace several Q_ASSERTs with proper checks

Authored by bruns on Feb 8 2019, 2:23 PM.

Description

Replace several Q_ASSERTs with proper checks

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.

Reviewers: Baloo, Frameworks, ngraham, poboiko, dhaumann

Reviewed By: dhaumann

Subscribers: dhaumann, ngraham, apol, sitter, kde-frameworks-devel, broulik, Frameworks

Tags: Frameworks, Baloo

Differential Revision: https://phabricator.kde.org/D12336

Details

Committed
brunsMar 1 2019, 12:21 AM
Reviewer
dhaumann
Differential Revision
D12336: Replace several Q_ASSERTs with proper checks
Parents
R293:604a2f402da7: Check string length to avoid crash for "tags:/" URL
Branches
Unknown
Tags
Unknown