]> git.mdlowis.com Git - proto/labwc.git/commit
src/config/rcxml.c: ensure parent action is available
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Wed, 22 May 2024 01:36:33 +0000 (03:36 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 22 May 2024 06:12:03 +0000 (07:12 +0100)
commita7298314a47214f1eb630249e39b92354f800857
treeb00f9d8055b022042ff7e3986951bd695cca38d1
parent23b96ad2a6c4885fbc32a7e8d1828f1f1f80e8a8
src/config/rcxml.c: ensure parent action is available

Before this patch, having a branch or query with an invalid or
missing parent action would trigger an assert when trying to
access the parent. This patch ensures that we bail out instead.

Reported-by: fuyukai via IRC (thanks)
src/config/rcxml.c