[xoreos-git] [xoreos/phaethon] e54e9f: COMMON: Change parseString() to not read potential...

GitHub noreply at github.com
Mon Jul 2 13:31:15 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/xoreos/phaethon
  Commit: e54e9f9a02a06b4cdde70e329872129467947d9b
      https://github.com/xoreos/phaethon/commit/e54e9f9a02a06b4cdde70e329872129467947d9b
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-07-02 (Mon, 02 Jul 2018)

  Changed paths:
    M src/common/strutil.cpp

  Log Message:
  -----------
  COMMON: Change parseString() to not read potentially undefined values

Instead of copying the old value of parameter and writing it back on
error, parseString now parses into a new variable and copies on
success.

This should shut up Coverity Scan complaining about reading undefined
values.



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the xoreos-git mailing list