diff options
author | Matthew J. Francis <mjay.francis@gmail.com> | 2014-10-07 01:51:37 +0800 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-10-07 17:48:47 +0000 |
commit | 555a7a601b33c18472be7e99b0f9c8acb05a82d7 (patch) | |
tree | 7a539d07a846c95bc07c8bcdf49bfb6d08b66bb1 /fpicker | |
parent | e1cbaebe7fe36690e192778c87b5eb63790017d7 (diff) |
Avoid accessing 1 character after a string
Found while trying to reproduce fdo#83141, but not related to
that - it just happened to trigger the relevant assert on a dbgutil
build.
The change to TextSearch::NSrchFrwrd() fixes the crash triggered
by reproducing the above bug.
The change to TextSearch::NSrchBkwrd() is by analogy but seems an
equally good idea.
Change-Id: I68c2c87b632dd53453f92394519a06f62e41bbad
Reviewed-on: https://gerrit.libreoffice.org/11830
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'fpicker')
0 files changed, 0 insertions, 0 deletions