directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jérôme Baumgarten (JIRA) <directory-...@incubator.apache.org>
Subject [jira] Updated: (DIRSNICKERS-108) Wrong int encoding in Value
Date Thu, 22 Sep 2005 16:07:32 GMT
     [ 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


Mime
View raw message