diff options
author | Christian Brabandt <cb@256bit.org> | 2023-11-14 20:05:59 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-11-16 22:04:37 +0100 |
commit | cb0b99f0672d8446585d26e998343dceca17d1ce (patch) | |
tree | 3cba6fe840cd98102776409e60a69ae0a24246aa /src/ex_cmds.c | |
parent | 25aabc2b8ee1e19ced6f4da9d866cf9378fc4c5a (diff) |
patch 9.0.2107: [security]: FPE in adjust_plines_for_skipcolv9.0.2107
Problem: [security]: FPE in adjust_plines_for_skipcol
Solution: don't divide by zero, return zero
Prevent a floating point exception when calculating w_skipcol (which can
happen with a small window when the number option is set and cpo+=n).
Add a test to verify
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/ex_cmds.c')
0 files changed, 0 insertions, 0 deletions