This fixes yet another crash after out-of-memory error in expand_shellcmd() in vim-8.2.94.
I think that there are probably many other places where failures to allocate are not gracefully handled.
I'm not sure whether it's really worth fixing them. They are very unlikely to happen.
But at least this one is simple to fix.
https://github.com/vim/vim/pull/5449
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
Merging #5449 into master will decrease coverage by
4.49%.
The diff coverage is33.33%.
@@ Coverage Diff @@ ## master #5449 +/- ## ========================================= - Coverage 82.85% 78.36% -4.5% ========================================= Files 134 134 Lines 147808 147116 -692 ========================================= - Hits 122473 115294 -7179 - Misses 25335 31822 +6487
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/cmdexpand.c | 79.23% <33.33%> (-2.43%) |
⬇️ |
| src/libvterm/src/vterm_internal.h | 50% <0%> (-50%) |
⬇️ |
| src/libvterm/src/rect.h | 79.31% <0%> (-17.25%) |
⬇️ |
| src/pty.c | 45% <0%> (-15%) |
⬇️ |
| src/sound.c | 81.11% <0%> (-14.45%) |
⬇️ |
| src/libvterm/src/unicode.c | 75% <0%> (-14.14%) |
⬇️ |
| src/gui_gtk_x11.c | 44.39% <0%> (-13.67%) |
⬇️ |
| src/crypt.c | 79.59% <0%> (-13.61%) |
⬇️ |
| src/libvterm/include/vterm.h | 25% <0%> (-12.5%) |
⬇️ |
| src/arabic.c | 85.36% <0%> (-12.2%) |
⬇️ |
| ... and 120 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered by Codecov. Last update 1860bde...8079a97. Read the comment docs.