Uploaded image for project: 'Apache Nemo'
  1. Apache Nemo
  2. NEMO-413

Fix index checking for byte access of MemoryChunk using UNSAFE

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.2

    Description

      MemoryChunk implementation includes random access of data by functions implemented using UNSAFE. The checkIndex() function is used to check the valid index for the random access using the index, absolute address and type size.

      Current checkIndex() for put() and get() passes zero as type size, and it should be changed to 1 since single byte has a size of 1.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            haeyoon Haeyoon Cho
            haeyoon Haeyoon Cho
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 20m
                20m

                Slack

                  Issue deployment