diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2022-09-02 08:03:03 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2022-09-02 10:26:06 +0200 |
commit | 5226e3889155ea22465d488174a6f8720085628a (patch) | |
tree | a3b3a1ad4a4ffbc9dc39c2330070a4ad77306819 /basctl | |
parent | 30a8f7e97d41d60098dbd14118d4f56c5557c06d (diff) |
tdf#150683 qt a11y: Add bound checks for table methods
Since the row/column indices come from outside
(usually from assistive technology like a screen reader),
validate them before using them when calling the
corresponding methods on the
XAccessibleTable{,Selection} interfaces.
Otherwise, calling the corresponding UNO methods will
result in a crash due to an `IndexOutOfBoundsException`
being thrown.
Change-Id: I4d018d16b99f1c2c7b88c1c9e03f16d40ec3345c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139250
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'basctl')
0 files changed, 0 insertions, 0 deletions