https://bugs.documentfoundation.org/show_bug.cgi?id=116999

Caolán McNamara <caol...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|libreoffice-b...@lists.free |caol...@redhat.com
                   |desktop.org                 |

--- Comment #7 from Caolán McNamara <caol...@redhat.com> ---
I think the len check is actually good. Its that we're using null terminated
strings here and expect that we can add a zero at the end, which is possible in
this specific case, but not in the general case if that field has filled with a
number > the buffer size. So this has headed off disaster in the general case.

For the specific case I think what we can do is to rework this to not need to
add a null terminator and just build an OUString directly from the known length

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to