]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: Passing null pointer option_name to operator << in md_config_t::parse_option() 15881/head
authorJos Collin <jcollin@redhat.com>
Fri, 23 Jun 2017 13:38:03 +0000 (19:08 +0530)
committerJos Collin <jcollin@redhat.com>
Mon, 26 Jun 2017 09:18:05 +0000 (14:48 +0530)
commit61cde7a0fa23a9d8bfed48e0882ff5e8e263dab5
tree7bb5ea06fcd70328aaf258fa13b0d96a80f94656
parent6ffb6eb0e8db352a3742071d1554a9e1d02e9f2d
common: Passing null pointer option_name to operator << in md_config_t::parse_option()

Fixes the Coverity Scan Report:
CID 1412776 (#1 of 1): Explicit null dereferenced (FORWARD_NULL)19. var_deref_model: Passing null pointer option_name to operator <<, which dereferences it.

Fixed the review comments too in this commit.

Signed-off-by: Jos Collin <jcollin@redhat.com>
src/common/config.cc