https://bugs.documentfoundation.org/show_bug.cgi?id=131951
--- Comment #8 from Pavel <[email protected]> ---
HTML::ScanText (svtools/source/svhtml/parthhtml) reads html token data up to
MAX_LEN (=1024) symbols to temp buffer and then do concatenation (+=) of
strings.
This causes allocation of memory and copying existing data and new data
(memcpy)
And because number of chunks is substantial, copying of almost the same data is
repeated multiple times
Possible solution could be increase buffer size each time it is filled (1024,
2048, 4096...)
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs