diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-09-11 16:17:47 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-09-12 07:08:14 +0200 |
commit | e94a35275670e0e3775c1bba305115d9941751f1 (patch) | |
tree | 586858758001c5659e301c6b61fbaa97e1b2b1ce /vcl/osx | |
parent | 071b626079243908cfa85a5bd49620235fdf48cf (diff) |
tdf#161256 gtk4 a11y: Don't crash on missing context or invalid child index
If an `XAccessible` doesn't have a context or
`XAccessibleContext::getAccessibleIndexInParent()` returns
an invalid index of -1, don't crash/assert, but
let `lo_accessible_get_next_accessible_sibling` return
`nullptr`.
This works around potential bugs in underlying
`XAccessible`/`XAccessibleContext` implementations for now.
This is meant to fix the assert/crash seen in the backtraces
attachment 196363 and attachment 196383 from tdf#161256
which I cannot reproduce locally on Debian testing.
Change-Id: Ic1779d875161469bf296c558039e19f1d426a259
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173216
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl/osx')
0 files changed, 0 insertions, 0 deletions