diff options
| author | Stephan Bergmann <sbergman@redhat.com> | 2019-06-24 16:00:08 +0200 |
|---|---|---|
| committer | Stephan Bergmann <sbergman@redhat.com> | 2019-06-24 21:20:11 +0200 |
| commit | a329b2111c12b9a5a3bc0de53065044155f54474 (patch) | |
| tree | 3b1a02aaf7db565f2349100c16c59ffad1cbfb20 /icon-themes/colibre/cmd/lc_paste.png | |
| parent | ab7652aabf9c1c91980d47c9d1be30b24313f142 (diff) | |
Don't prematurely convert nEscapement from double to sal_Int16
...before it is clamped to -MAX_ESC_POS..MAX_ESC_POS, anyway. That avoids some
-fsanitize=float-cast-overflow
> writerfilter/source/dmapper/DomainMapper.cxx:2833:39: runtime error: -327680 is outside the range of representable values of type 'short'
when loading caolan/swfntobj_drawtext_heap_buffer_overflow.sample (from the
crashtestdata files).
Change-Id: I42c23fe30723280410f3afc0ecbe40f1f31b7f96
Reviewed-on: https://gerrit.libreoffice.org/74645
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'icon-themes/colibre/cmd/lc_paste.png')
0 files changed, 0 insertions, 0 deletions
