Skip to content

fix(esp_linenoise): update code to fix static analyzer warning#689

Merged
SoucheSouche merged 1 commit intoespressif:masterfrom
SoucheSouche:fix/esp-linenoise-static-analyzer-warnings
Feb 24, 2026
Merged

fix(esp_linenoise): update code to fix static analyzer warning#689
SoucheSouche merged 1 commit intoespressif:masterfrom
SoucheSouche:fix/esp-linenoise-static-analyzer-warnings

Conversation

@SoucheSouche
Copy link
Collaborator

Checklist

  • CI passing

Change description

  • assign 'copy' in 'cvec' before assigning 'cvec' to 'lc->cvec' to prevent the static analyzer from thinking that 'copy' is leaked in esp_linenoise_add_completion function

- assign 'copy' in 'cvec' before assigning 'cvec' to 'lc->cvec' to
prevent the static analyzer from thinking that 'copy' is leaked in
esp_linenoise_add_completion function
@SoucheSouche SoucheSouche force-pushed the fix/esp-linenoise-static-analyzer-warnings branch from 211391f to 08a7c0a Compare February 23, 2026 08:47
@SoucheSouche SoucheSouche merged commit b76db1d into espressif:master Feb 24, 2026
161 of 162 checks passed
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