You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Jérôme Baumgarten (JIRA)" <di...@incubator.apache.org> on 2005/09/22 18:07:32 UTC
[jira] Updated: (DIRSNICKERS-108) Wrong int encoding in Value
[ http://issues.apache.org/jira/browse/DIRSNICKERS-108?page=all ]
Jérôme Baumgarten updated DIRSNICKERS-108:
------------------------------------------
Attachment: Value.patch
Attached is a patch to correct the encoding.
I haven't tested it for negative values but it should be ok.
Jérôme
> Wrong int encoding in Value
> ---------------------------
>
> Key: DIRSNICKERS-108
> URL: http://issues.apache.org/jira/browse/DIRSNICKERS-108
> Project: Directory ASN1
> Type: Bug
> Components: BER Runtime
> Reporter: Jérôme Baumgarten
> Assignee: Alex Karasulu
> Priority: Blocker
> Attachments: Value.patch
>
> Hi,
> Encoding is buggy for int value in the org.apache.asn1new.ber.tlv.Value class. The affected methods are :
> * public static int getNbBytes( int value )
> * public static byte[] getBytes( int value )
> Regards,
> Jérôme
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira