Message Id - ASN.1 erreur encodage #3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem of unsigned/signed int with the message ID. When the value is 128, he writes on an alone byte. So we get the value -128 and this declare a fatal error in client(goldap).
Reproduct the bug:
Expected Result:
In normal case, the program run without error output and send 250 requests.
Results obtained:
We obtain this error:
2021/07/07 01:25:51 Received unexpected message -128, false
Hypothetic source of the bug:
We can suggest invest the encodage ASN.1 which is incorrect for the integer numbers. It's a problem of unsigned/signed int.
Hack to workaround this bug:
You need only to reconnect to reinitialize the counter ID.