You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Alex Karasulu (JIRA)" <ji...@apache.org> on 2008/07/22 04:56:31 UTC
[jira] Created: (DIRSHARED-16) Emmanuel can you take a look at
EntryChangeControlCodec to make int into a long in the codec
Emmanuel can you take a look at EntryChangeControlCodec to make int into a long in the codec
--------------------------------------------------------------------------------------------
Key: DIRSHARED-16
URL: https://issues.apache.org/jira/browse/DIRSHARED-16
Project: Directory Shared
Issue Type: Bug
Reporter: Alex Karasulu
Assignee: Emmanuel Lecharny
Priority: Minor
I put a few TODO items here where I could not figure out how quickly I can make this code properly encode/decode a long so I just casted the long to an int improperly. Can you take a look and see what it will take for us to use longs instead of ints and get rid of the potential overflow problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (DIRSHARED-16) Emmanuel can you take a look at
EntryChangeControlCodec to make int into a long in the codec
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSHARED-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny resolved DIRSHARED-16.
----------------------------------------
Resolution: Fixed
Done. It took me quite a while, as this apparently very simple change impacts a hell lot of code (in ASN.1 and shared)
> Emmanuel can you take a look at EntryChangeControlCodec to make int into a long in the codec
> --------------------------------------------------------------------------------------------
>
> Key: DIRSHARED-16
> URL: https://issues.apache.org/jira/browse/DIRSHARED-16
> Project: Directory Shared
> Issue Type: Bug
> Reporter: Alex Karasulu
> Assignee: Emmanuel Lecharny
> Priority: Minor
>
> I put a few TODO items here where I could not figure out how quickly I can make this code properly encode/decode a long so I just casted the long to an int improperly. Can you take a look and see what it will take for us to use longs instead of ints and get rid of the potential overflow problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (DIRSHARED-16) Emmanuel can you take a look at
EntryChangeControlCodec to make int into a long in the codec
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSHARED-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny closed DIRSHARED-16.
--------------------------------------
closed
> Emmanuel can you take a look at EntryChangeControlCodec to make int into a long in the codec
> --------------------------------------------------------------------------------------------
>
> Key: DIRSHARED-16
> URL: https://issues.apache.org/jira/browse/DIRSHARED-16
> Project: Directory Shared
> Issue Type: Bug
> Reporter: Alex Karasulu
> Assignee: Emmanuel Lecharny
> Priority: Minor
>
> I put a few TODO items here where I could not figure out how quickly I can make this code properly encode/decode a long so I just casted the long to an int improperly. Can you take a look and see what it will take for us to use longs instead of ints and get rid of the potential overflow problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRSHARED-16) Emmanuel can you take a look at
EntryChangeControlCodec to make int into a long in the codec
Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSHARED-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615497#action_12615497 ]
Alex Karasulu commented on DIRSHARED-16:
----------------------------------------
http://svn.apache.org/viewvc/directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/EntryChangeControlCodec.java?view=markup&pathrev=678621
Here's the code.
> Emmanuel can you take a look at EntryChangeControlCodec to make int into a long in the codec
> --------------------------------------------------------------------------------------------
>
> Key: DIRSHARED-16
> URL: https://issues.apache.org/jira/browse/DIRSHARED-16
> Project: Directory Shared
> Issue Type: Bug
> Reporter: Alex Karasulu
> Assignee: Emmanuel Lecharny
> Priority: Minor
>
> I put a few TODO items here where I could not figure out how quickly I can make this code properly encode/decode a long so I just casted the long to an int improperly. Can you take a look and see what it will take for us to use longs instead of ints and get rid of the potential overflow problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.