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

eCAL Core: Callback after zero length send contains stale message #1203

Merged
merged 2 commits into from
Sep 19, 2023

Conversation

KerstinKeller
Copy link
Contributor

Description

2333d20 introduced a bug when sending zero length messages over SHM - the callback would contain stale non-zero length messages from the previous call.

This commit fixes the introduced bug, and adds a testcase for this scenario.

Related issues

Fixes #1200

Cherry-pick to

  • 5.11 (old stable) -> probably cannot be cherry picked, but requires a different commit
  • 5.12 (current stable)

… the callback would contain stale non-zero length messages from the previous call.

This commit fixes the introduced bug, and adds a testcase for this scenario.
@KerstinKeller KerstinKeller enabled auto-merge (squash) September 19, 2023 15:27
@KerstinKeller KerstinKeller merged commit df204c8 into master Sep 19, 2023
13 checks passed
FlorianReimold pushed a commit that referenced this pull request Sep 20, 2023
2333d20 introduced a bug when sending zero length messages over SHM - the callback would contain stale non-zero length messages from the previous call. (#1203)
This commit fixes the introduced bug, and adds a testcase for this scenario.
KerstinKeller added a commit that referenced this pull request Sep 20, 2023
2333d20 introduced a bug when sending zero length messages over SHM - the callback would contain stale non-zero length messages from the previous call. (#1203)
This commit fixes the introduced bug, and adds a testcase for this scenario.
@KerstinKeller KerstinKeller deleted the hotfix/#1200-old-data-in-zero-size-messages branch October 25, 2023 15:25
FlorianReimold pushed a commit that referenced this pull request Oct 27, 2023
2333d20 introduced a bug when sending zero length messages over SHM - the callback would contain stale non-zero length messages from the previous call. (#1203)
This commit fixes the introduced bug, and adds a testcase for this scenario.
FlorianReimold pushed a commit that referenced this pull request Oct 27, 2023
2333d20 introduced a bug when sending zero length messages over SHM - the callback would contain stale non-zero length messages from the previous call. (#1203)
This commit fixes the introduced bug, and adds a testcase for this scenario.
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

Successfully merging this pull request may close these issues.

data not update when proto msg all zero in 5.11.5. but 5.11.4 is ok.
2 participants