]> granicus.if.org Git - icinga2/commit
Fix crash on API queries with Fedora 28 hardening and GCC 8
authorMichael Friedrich <michael.friedrich@icinga.com>
Wed, 5 Sep 2018 18:42:55 +0000 (20:42 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Thu, 20 Sep 2018 07:58:01 +0000 (09:58 +0200)
commit7f7e81d905c8d50130f2b653d18c6a6aa62b94d5
tree7e2ac6ca2f8395ab2cc01338c0056dff6d1b9dbc
parent454460c9d58bbdeabe44be2268a2a8f102c9de85
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
refs #6596
lib/remote/filterutility.cpp