[ 
https://issues.apache.org/jira/browse/DIRAPI-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lécharny closed DIRAPI-488.
------------------------------------

> Serialize.deserializeInt sign-extends bytes, corrupting stored lengths
> ----------------------------------------------------------------------
>
>                 Key: DIRAPI-488
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-488
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 2.1.8
>            Reporter: Emmanuel Lécharny
>            Priority: Minor
>             Fix For: 2.1.9
>
>
> A component persists an _Ava_ whose _upName_ serializes to 200 bytes.
> On deserialize, _deserializeInt_ returns -56, _deserializeBytes_ returns 
> *EMPTY_BYTES*, the position advances incorrectly, and subsequent fields are 
> read from wrong offsets — yielding a silently different *DN*/*value* than was 
> stored, with no exception.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to