{{ message }}
Commit f32a863
sea: avoid dangling CLI option pointers
Reserve exec argv storage before inserting configured and CLI-expanded
arguments so vector reallocation cannot invalidate pointers in argv.
Signed-off-by: Archkon <180910180+Archkon@users.noreply.github.com>
PR-URL: #64755
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Aviv Keller <me@aviv.sh>1 parent 3126ce5 commit f32a863
4 files changed
Lines changed: 9 additions & 5 deletions
File tree
- src
- test
- fixtures/sea/exec-argv-extension-cli
- sea
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Lines changed: 5 additions & 1 deletion

0 commit comments