Apache Directory Project - [jira] Updated: (DIRSNICKERS-108) Wrong int encoding in Value

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > September 2005 > [jira] Updated: (DIRSNICKERS-108) Wrong int encoding in Value





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Updated: (DIRSNICKERS-108) Wrong int encoding in Value
Jérôme Baumgarten (JIRA)

2005-09-22, 8:45 pm

[ http://issues.apache.org/jira/brows...-108?page=3Dall ]

J=C3=A9r=C3=B4me 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=C3=A9r=C3=B4me

> 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=C3=A9r=C3=B4me Baumgarten
> Assignee: Alex Karasulu
> Priority: Blocker
> Attachments: Value.patch
>
> Hi,
> Encoding is buggy for int value in the org.apache.asn1new.ber.tlv.Value c=

lass. The affected methods are :
> * public static int getNbBytes( int value )
> * public static byte[] getBytes( int value )
> Regards,
> J=C3=A9r=C3=B4me


--=20
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com