byteArrayDeserializer is buggy
------------------------------
Key: CAROB-66
URL: https://forge.continuent.org/jira/browse/CAROB-66
Project: Carob
Type: Bug
Components: C++ API
Reporter: Zsolt Simon
Assigned to: Gilles Rayrat
byteArrayDeserializer is not working.
The problem is, after the length is received, it tries to read int32 x length
bytes from the stream, which is not correct.
A solution to this could be either using
input.receiveFromSocket(L"byteArrayDeserializer", L"byteArray",
byteArrayRead, baLength, 0) or input.recvFully(byteArrayRead, baLength, 0),
but both methods are not public.
Also at storing this byteArray to the res.as_other, the length of this array is
lost. Another problem is that the allocated structure is never released from
the memory => memory leak.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob