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

lib: fix possible freeing of libyang data #14767

Merged
merged 1 commit into from
Nov 12, 2023

Conversation

idryzhov
Copy link
Contributor

mgmtd frees all non-NULL change->value variables at the end of every commit. We shouldn't assign change->value with data returned by libyang to prevent freeing of library-allocated memory.

mgmtd frees all non-NULL change->value variables at the end of every
commit. We shouldn't assign change->value with data returned by libyang
to prevent freeing of library-allocated memory.

Signed-off-by: Igor Ryzhov <[email protected]>
@ton31337 ton31337 merged commit 2c0c2c7 into FRRouting:master Nov 12, 2023
81 checks passed
@idryzhov
Copy link
Contributor Author

@Mergifyio backport stable/9.1

Copy link

mergify bot commented Nov 14, 2023

backport stable/9.1

✅ Backports have been created

ton31337 added a commit that referenced this pull request Nov 14, 2023
lib: fix possible freeing of libyang data (backport #14767)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants