Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-105541

libthai th_brk is limited to ≤ 2Gi characters

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • None

      The th_brk() function takes the length of the input as a size_t, but it stores breaks in an int array, thereby limiting possible hits to the first INT_MAX characters.

      To fix, we need to, if we can, loop over the input in increments of INT_MAX and adjust the positions afterwards. We should also ping upstream about this problem.

      th_brk() is deprecated, btw, but the replacement th_brk_find_breaks() has the same API issue.

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            cnn Qt Core & Network
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes