There are two problems :
1) Controls state automaton is incorrect. It has te be fixed
2) More critical : a problem arise when having a controls after a empty list of attributes. The recursive computation of the expected length is totally buggy and need some deep though. It has been patched several times without having clearly studied the impacts of those patches, and need some clear refactoring.
Description
There are two problems :
1) Controls state automaton is incorrect. It has te be fixed
2) More critical : a problem arise when having a controls after a empty list of attributes. The recursive computation of the expected length is totally buggy and need some deep though. It has been patched several times without having clearly studied the impacts of those patches, and need some clear refactoring.
The Controls are now correctly handle, so we can use JNDI again ! (No, JNDI is NOT broken, Emmanuel, your code is ;)
The other bug has been fixed too, even if it was not related to the first bug (it appears just because the PDU had an empty SEQUENCE OF attributes, a specific case that was not treated well in the Twix ASN1 Decoder.)
Emmanuel Lecharny added a comment - 21/Sep/05 04:28 PM The Controls are now correctly handle, so we can use JNDI again ! (No, JNDI is NOT broken, Emmanuel, your code is ;)
The other bug has been fixed too, even if it was not related to the first bug (it appears just because the PDU had an empty SEQUENCE OF attributes, a specific case that was not treated well in the Twix ASN1 Decoder.)
The other bug has been fixed too, even if it was not related to the first bug (it appears just because the PDU had an empty SEQUENCE OF attributes, a specific case that was not treated well in the Twix ASN1 Decoder.)