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 MSG_STRING_E length issue #282

Merged
merged 2 commits into from
Feb 11, 2025
Merged

Conversation

yutongqing
Copy link
Contributor

only need copy _n+1 bytes including the tail '\0', the memcpy should be performed when p+_n+1 equals e

only need copy _n+1 bytes including the tail '\0', the memcpy should be performed when p+_n+1 equals e
@andywolk
Copy link
Member

Could you please provide a unit-test for this case?

@yutongqing
Copy link
Contributor Author

@andywolk unit-test added, please review.

@yutongqing
Copy link
Contributor Author

@andywolk is there any other concerns about this change?

@andywolk andywolk requested review from andywolk and mjerris February 10, 2025 10:42
@andywolk andywolk added the bug Something isn't working label Feb 10, 2025
@andywolk andywolk requested a review from morbit85 February 11, 2025 10:15
@andywolk andywolk merged commit b298087 into freeswitch:master Feb 11, 2025
14 checks passed
@andywolk
Copy link
Member

@yutongqing Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants