Diffusion Baloo 2d31a8500edb

[PositionCodec] Avoid crash in case of corrupt data

Authored by bruns on Oct 6 2018, 10:36 PM.

Description

[PositionCodec] Avoid crash in case of corrupt data

Summary:
getDifferentialVarInt* returns a nullptr in case of a decoding error.

See also D11825.

BUG: 367480

Reviewers: Frameworks, poboiko, ngraham, Baloo

Reviewed By: ngraham, Baloo

Subscribers: kde-frameworks-devel, Baloo

Tags: Frameworks, Baloo

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

Details

Committed
brunsOct 6 2018, 11:56 PM
Reviewer
Baloo
Differential Revision
D15993: [PositionCodec] Avoid crash in case of corrupt data
Parents
R293:ade5188979c4: Fix invalid char constant
Branches
Unknown
Tags
Unknown