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

Fix broken pvPortReallocMicroROS() implementation #48

Merged
merged 1 commit into from
Mar 9, 2022

Conversation

yushijinhun
Copy link
Contributor

The original pvPortReallocMicroROS() implementation copies more bytes than expected, which causes memory error when using functions like rosidl_runtime_c__String__assignn().

The original `pvPortReallocMicroROS()` implementation copies more bytes than expected, which causes memory error when using functions like `rosidl_runtime_c__String__assignn()`.
@pablogs9
Copy link
Member

pablogs9 commented Mar 9, 2022

@mergify backport main foxy

@mergify
Copy link
Contributor

mergify bot commented Mar 9, 2022

backport main foxy

🟠 Waiting for conditions to match

  • merged [:pushpin: backport requirement]

Hey, I reacted but my real name is @Mergifyio

@pablogs9 pablogs9 merged commit 5b627a1 into micro-ROS:galactic Mar 9, 2022
mergify bot pushed a commit that referenced this pull request Mar 9, 2022
The original `pvPortReallocMicroROS()` implementation copies more bytes than expected, which causes memory error when using functions like `rosidl_runtime_c__String__assignn()`.

(cherry picked from commit 5b627a1)
mergify bot pushed a commit that referenced this pull request Mar 9, 2022
The original `pvPortReallocMicroROS()` implementation copies more bytes than expected, which causes memory error when using functions like `rosidl_runtime_c__String__assignn()`.

(cherry picked from commit 5b627a1)
@mergify
Copy link
Contributor

mergify bot commented Mar 9, 2022

backport main foxy

✅ Backports have been created

pablogs9 pushed a commit that referenced this pull request Mar 9, 2022
The original `pvPortReallocMicroROS()` implementation copies more bytes than expected, which causes memory error when using functions like `rosidl_runtime_c__String__assignn()`.

(cherry picked from commit 5b627a1)

Co-authored-by: Haowei Wen <[email protected]>
pablogs9 pushed a commit that referenced this pull request Mar 9, 2022
The original `pvPortReallocMicroROS()` implementation copies more bytes than expected, which causes memory error when using functions like `rosidl_runtime_c__String__assignn()`.

(cherry picked from commit 5b627a1)

Co-authored-by: Haowei Wen <[email protected]>
@yushijinhun yushijinhun deleted the patch-2 branch March 9, 2022 12:00
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.

2 participants