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

[C++] Fix the bug of parsing string hex values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.16.0
    • C++

    Description

      std::lower_bound returns the end of the search range, when failing to find a match.

      The end of the search range is one position after the last valid position. So the value in this position is undefined, and we should not reference the value here to compare it with the target value.

      Attachments

        Issue Links

          Activity

            People

              fan_li_ya Liya Fan
              fan_li_ya Liya Fan
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 1h 20m
                  1h 20m