Skip to content

Conversation

@aboch
Copy link
Contributor

@aboch aboch commented Nov 24, 2015

  • pushReservation fails to correctly detect when
    the affected block is the last in the current
    sequence. It thinks instead the block is in between
    the sequence. Because of this a couple of issues
    may happen:
    1. The allocation of the last bit causes the creation
      of a phantom sequence (length 0) at the end.
      (This has no side effects).
    2. The allocation of a bit somewhere in the middle of
      the bitmask may lead to a completely incorrect
      sequence pattern.

Signed-off-by: Alessandro Boch aboch@docker.com

- pushReservation fails to correctly detect when
  the affected block is the last in the current
  sequence. It thinks instead the block is in between
  the sequence. Because of this a couple of issues
  may happen:
   1. The allocation of the last bit causes the creation
      of a phantom sequence (length 0) at the end.
      (This has no side effects).
   2. The allocation of a bit somewhere in the middle of
      the bitmask may lead to a completely incorrect
      sequence pattern.

Signed-off-by: Alessandro Boch <aboch@docker.com>
@dave-tucker
Copy link
Contributor

LGTM

1 similar comment
@mrjana
Copy link
Contributor

mrjana commented Nov 25, 2015

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants