]> granicus.if.org Git - icinga2/commit
Fix crash on API queries with Fedora 28 hardening and GCC 8 6596/head
authorMichael Friedrich <michael.friedrich@icinga.com>
Wed, 5 Sep 2018 18:42:55 +0000 (20:42 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Thu, 6 Sep 2018 07:56:04 +0000 (09:56 +0200)
commit1f4f6282c7d1d30c05aea257df9cebe1805550fa
tree668d10b90f7616c157f4bb7c2a649fa5c15cbf35
parent1c2a59bf63c42712a86868764a0e1cbb83acc2f5
Fix crash on API queries with Fedora 28 hardening and GCC 8

The actual fix is to handle nullptr references differently
for an empty filter expression. The other changes include
oob checks not necesarily involved.

fixes #6533
lib/remote/filterutility.cpp