Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-8728

[C++] Bitmap operation may cause buffer overflow

    XMLWordPrintableJSON

Details

    Description

      Happen to find this issue when refining bitmap operation, this code may overflow out buffer. Should be "(length + left_offset % 8)";
      Improve unit test to test large offset values can trigger the bug.

      Attachments

        Issue Links

          Activity

            People

              yibocai Yibo Cai
              yibocai Yibo Cai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m