suesianne / vt-middleware

Automatically exported from code.google.com/p/vt-middleware
0 stars 0 forks source link

ldaptive: BER lengths are decoded as signed 2s complement #229

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The asn.1 IntegerType#decode(byte[]) method uses new BigInteger(byte[]).
This always provides signed value.
Provide an implementation that uses BigInteger(signum, byte[]) for unsigned 
integers.

Original issue reported on code.google.com by dfis...@gmail.com on 4 Sep 2014 at 3:02

GoogleCodeExporter commented 8 years ago
Fixed in r3050.

Original comment by dfis...@gmail.com on 4 Sep 2014 at 6:24

GoogleCodeExporter commented 8 years ago

Original comment by dfis...@gmail.com on 4 Sep 2014 at 6:25

GoogleCodeExporter commented 8 years ago

Original comment by dfis...@gmail.com on 4 Sep 2014 at 6:25