D11825: Fix unitialized value warning, nullptr access

Stefan Brüns noreply at phabricator.kde.org
Sat Mar 31 03:37:07 UTC 2018


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

REVISION SUMMARY
  getVarint32Ptr may return a nullptr (in case of an error), and also will
  not set the value (size resp. n).
  
  Signed-off-by: Stefan Brüns <stefan.bruens at rwth-aachen.de>

TEST PLAN
  make

REPOSITORY
  R293 Baloo

BRANCH
  fix_warnings

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

AFFECTED FILES
  src/codecs/coding.cpp

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


More information about the Kde-frameworks-devel mailing list