Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid archive RecordingDescriptor SBE response length #550

Closed
LiuZhihai opened this issue Sep 4, 2018 · 1 comment
Closed

Invalid archive RecordingDescriptor SBE response length #550

LiuZhihai opened this issue Sep 4, 2018 · 1 comment

Comments

@LiuZhihai
Copy link

Hi, there. I am currently working on implementing the archive client in C++. While implementing listRecording feature, our test program crashed due to malformed SBE message. After few hours of investigation, I think the following line of code caused the problem,

final int contentLength = length - recordingIdEncodingOffset() - HEADER_LENGTH;

The - HEADER_LENGTH part should be removed.

mjpt777 added a commit that referenced this issue Sep 4, 2018
@mjpt777
Copy link
Contributor

mjpt777 commented Sep 4, 2018

There was a bug but the fix is different to what you suggest. Should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants