-
Notifications
You must be signed in to change notification settings - Fork 48
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
Memory Leak in kubeyaml_load_kubeconfig() in kubernetes/config/kube_config_yaml.c #134
Comments
Thank you for reporting this issue. Will fix it later. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
Any update on this? I experienced the same. |
I'll find a cycle to fix it in a few days. |
Hi,
I found a memory leak when calling kubeyaml_load_kubeconfig()
kubeyaml_load_kubeconfig creates a yaml parser object before attempting to read the kubeconfig file.
If opening the kubeconfig file failed for some reason, the function returns(-1) without freeing up the memory allocated to parser.
snippet of the code in question where the leak occurs
The text was updated successfully, but these errors were encountered: