Lucene - Core
  1. Lucene - Core
  2. LUCENE-4568

Integer overflow in PagedBytes.PagedBytesData{In,Out}put.getPosition

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      PagedBytes.PagedBytesData

      {In,Out}

      put.getPosition overflow when there are more than Integer.MAX_VALUE bytes.

        Activity

        Hide
        Adrien Grand added a comment -

        Patch.

        Show
        Adrien Grand added a comment - Patch.
        Hide
        Michael McCandless added a comment -

        +1

        Show
        Michael McCandless added a comment - +1
        Hide
        Adrien Grand added a comment -

        Committed:

        • trunk r1412099
        • branch_4x r1412115

        Thanks Mike for the review!

        Show
        Adrien Grand added a comment - Committed: trunk r1412099 branch_4x r1412115 Thanks Mike for the review!
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] Adrien Grand
        http://svn.apache.org/viewvc?view=revision&revision=1412115

        LUCENE-4568: Fix integer overflow in PagedBytes.PagedBytesData

        {In,Out}

        put.getPosition (merged from r1412099).

        Show
        Commit Tag Bot added a comment - [branch_4x commit] Adrien Grand http://svn.apache.org/viewvc?view=revision&revision=1412115 LUCENE-4568 : Fix integer overflow in PagedBytes.PagedBytesData {In,Out} put.getPosition (merged from r1412099).
        Hide
        Commit Tag Bot added a comment -

        [trunk commit] Adrien Grand
        http://svn.apache.org/viewvc?view=revision&revision=1412099

        LUCENE-4568: Fix integer overflow in PagedBytes.PagedBytesData

        {In,Out}

        put.getPosition.

        Show
        Commit Tag Bot added a comment - [trunk commit] Adrien Grand http://svn.apache.org/viewvc?view=revision&revision=1412099 LUCENE-4568 : Fix integer overflow in PagedBytes.PagedBytesData {In,Out} put.getPosition.
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] Adrien Grand
        http://svn.apache.org/viewvc?view=revision&revision=1412115

        LUCENE-4568: Fix integer overflow in PagedBytes.PagedBytesData

        {In,Out}

        put.getPosition (merged from r1412099).

        Show
        Commit Tag Bot added a comment - [branch_4x commit] Adrien Grand http://svn.apache.org/viewvc?view=revision&revision=1412115 LUCENE-4568 : Fix integer overflow in PagedBytes.PagedBytesData {In,Out} put.getPosition (merged from r1412099).

          People

          • Assignee:
            Adrien Grand
            Reporter:
            Adrien Grand
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development