Project

General

Profile

Actions

Bug #3228

closed

Name components do not compare correctly

Added by Andrew Brown over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
09/28/2015
Due date:
% Done:

0%

Estimated time:

Description

Since we are all having a great time at NDNCOMM, I thought I would rain on the parade by posting this bug. Name components, when compared against each other, fail from byte 7F to byte 80; the reason why is that Java parses 7F as 127 and 80 as -128. A test will be added below.

Actions #1

Updated by Anonymous over 8 years ago

  • Status changed from New to Closed
  • Assignee set to Anonymous

Added Blob.compare for unsigned compare. Use it in Name.Component.compare.

Actions

Also available in: Atom PDF