commit_msg
stringlengths 1
24.2k
| commit_hash
stringlengths 2
84
⌀ | project
stringlengths 2
40
| source
stringclasses 4
values | labels
int64 0
1
| repo_url
stringlengths 26
70
⌀ | commit_url
stringlengths 74
118
⌀ | commit_date
stringlengths 25
25
⌀ |
---|---|---|---|---|---|---|---|
shared/rm-rf: loop over nested directories instead of instead of recursing
To remove directory structures, we need to remove the innermost items first,
and then recursively remove higher-level directories. We would recursively
descend into directories and invoke rm_rf_children and rm_rm_children_inner.
This is problematic when too many directories are nested.
Instead, let's create a "TODO" queue. In the the queue, for each level we
hold the DIR* object we were working on, and the name of the directory. This
allows us to leave a partially-processed directory, and restart the removal
loop one level down. When done with the inner directory, we use the name to
unlinkat() it from the parent, and proceed with the removal of other items.
Because the nesting is increased by one level, it is best to view this patch
with -b/--ignore-space-change.
This fixes CVE-2021-3997, https://bugzilla.redhat.com/show_bug.cgi?id=2024639.
The issue was reported and patches reviewed by Qualys Team.
Mauro Matteo Cascella and Riccardo Schirone from Red Hat handled the disclosure. | 5b1cf7a9be37e20133c0208005274ce4a5b5c6a1 | systemd | cvefixes | 1 | https://github.com/systemd/systemd | https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1 | 2021-12-21 14:39:50+01:00 |
fix PR#7003 and a few other bugs caused by misuse of Int_val
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16525 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 | 659615c7b100a89eafe6253e7a5b9d84d0e8df74 | ocaml | cvefixes | 1 | https://github.com/ocaml/ocaml | https://github.com/ocaml/ocaml/commit/659615c7b100a89eafe6253e7a5b9d84d0e8df74 | 2015-10-19 15:47:33+00:00 |
opj_mj2_extract: Check provided output prefix for length
This uses snprintf() with correct buffer length instead of sprintf(), which
prevents a buffer overflow when providing a long output prefix. Furthermore
the program exits with an error when the provided output prefix is too long.
Fixes #1088. | cc3824767bde397fedb8a1ae4786a222ba860c8d | openjpeg | cvefixes | 1 | https://github.com/uclouvain/openjpeg | https://github.com/uclouvain/openjpeg/commit/cc3824767bde397fedb8a1ae4786a222ba860c8d | 2018-09-22 23:12:39+02:00 |
Fix some pipelines to be safe if downstream write fails (fuzz issue 28262) | dc92574c10f3e2516ec6445b88c5d584f40df4e5 | qpdf | cvefixes | 1 | https://github.com/qpdf/qpdf | https://github.com/qpdf/qpdf/commit/dc92574c10f3e2516ec6445b88c5d584f40df4e5 | 2021-01-04 15:17:35-05:00 |
[set] Make all operators null-safe again
Changed my mind.
Also for hb_map_clear().
Part of https://github.com/harfbuzz/harfbuzz/pull/3162 | d3e09bf4654fe5478b6dbf2b26ebab6271317d81 | harfbuzz | cvefixes | 1 | https://github.com/harfbuzz/harfbuzz | https://github.com/harfbuzz/harfbuzz/commit/d3e09bf4654fe5478b6dbf2b26ebab6271317d81 | 2021-08-24 10:31:49-06:00 |
[sbix] Limit glyph extents
Fixes https://github.com/harfbuzz/harfbuzz/issues/3557 | 62e803b36173fd096d7ad460dd1d1db9be542593 | harfbuzz | cvefixes | 1 | https://github.com/harfbuzz/harfbuzz | https://github.com/harfbuzz/harfbuzz/commit/62e803b36173fd096d7ad460dd1d1db9be542593 | 2022-06-01 07:39:20-06:00 |
Use "length", which has been limited in size | 01173ec2426627dbb1e0d96c06c3ffa0b14d36d0 | pam_radius | cvefixes | 1 | https://github.com/freeradius/pam_radius | https://github.com/freeradius/pam_radius/commit/01173ec2426627dbb1e0d96c06c3ffa0b14d36d0 | 2015-05-21 15:40:11-04:00 |
added additional checking to XMSS BDS tree parsing. Failures now mostly cause IOException | 4092ede58da51af9a21e4825fbad0d9a3ef5a223 | bc-java | cvefixes | 1 | https://github.com/bcgit/bc-java | https://github.com/bcgit/bc-java/commit/4092ede58da51af9a21e4825fbad0d9a3ef5a223 | 2018-03-03 14:06:34+11:00 |
Fix a security vulnerability discovered by Qualys which can lead to a
privileges escalation on mbox deliveries and unprivileged code execution
on lmtp deliveries, due to a logic issue causing a sanity check to be
missed.
ok eric@, millert@ | 9dcfda045474d8903224d175907bfc29761dcb45 | openbsd/src | cvefixes | 1 | https://github.com/openbsd/src | https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45 | 2020-01-28 21:35:00+00:00 |
Fix return value check for openssl API used during pubkey validation.
Found thanks to bug report by Michael Scheibel <m.Scheibel (at) tuvit (dot) de>
ok patrick@, markus@, tb@ | 7afb2d41c6d373cf965285840b85c45011357115 | openbsd/src | cvefixes | 1 | https://github.com/openbsd/src | https://github.com/openbsd/src/commit/7afb2d41c6d373cf965285840b85c45011357115 | 2020-07-27 14:22:53+00:00 |
Use regfree after we're done with preg.
From gilles@ | 79a034b4aed29e965f45a13409268290c9910043 | openbsd/src | cvefixes | 1 | https://github.com/openbsd/src | https://github.com/openbsd/src/commit/79a034b4aed29e965f45a13409268290c9910043 | 2020-12-23 08:12:14+00:00 |
smtpd's filter state machine can prematurely release resources
leading to a crash. From gilles@ | 6c3220444ed06b5796dedfd53a0f4becd903c0d1 | openbsd/src | cvefixes | 1 | https://github.com/openbsd/src | https://github.com/openbsd/src/commit/6c3220444ed06b5796dedfd53a0f4becd903c0d1 | 2020-12-23 20:17:49+00:00 |
Properly store certificate exceptions
The previous method stored the certificates as authorities, meaning that
the owner of that certificate could impersonate any server it wanted
after a client had added an exception.
Handle this more properly by only storing exceptions for specific
hostname/certificate combinations, the same way browsers or SSH does
things. | b30f10c681ec87720cff85d490f67098568a9cba | tigervnc | cvefixes | 1 | https://github.com/tigervnc/tigervnc | https://github.com/tigervnc/tigervnc/commit/b30f10c681ec87720cff85d490f67098568a9cba | 2020-05-21 21:10:38+02:00 |
ofz#372 check if ImplSplit succeeded
Change-Id: I1e34295fe3ee5f77e787f583616d52fa92a0eca4 | 62a97e6a561ce65e88d4c537a1b82c336f012722 | core | cvefixes | 1 | https://github.com/libreoffice/core | https://github.com/libreoffice/core/commit/62a97e6a561ce65e88d4c537a1b82c336f012722 | 2017-01-02 11:53:55+00:00 |
ofz#817 nStrLen-1 changed to nStrLen-3
regression from...
commit ff8f6629287d0d1bdbcf4f8ed16cb8d077d08c7a
Author: Caolán McNamara <[email protected]>
Date: Thu Jan 19 16:56:34 2017 +0000
Resolves: ofz#424 guard against broken dxary length
but this weird typo doesn't appears in the 5-2 and 5-3 backports,
odd how I managed that
Change-Id: I5fb1db2284d48ee78e717d41274a3d37ab0255cf | 28e61b634353110445e334ccaa415d7fb6629d62 | core | cvefixes | 1 | https://github.com/libreoffice/core | https://github.com/libreoffice/core/commit/28e61b634353110445e334ccaa415d7fb6629d62 | 2017-03-11 17:31:41+00:00 |
ofz#860 clear old data before reading new data
Change-Id: I3bf5c2072a328052004c4c0551c2b125cb8ab19b
Reviewed-on: https://gerrit.libreoffice.org/35165
Reviewed-by: Caolán McNamara <[email protected]>
Tested-by: Caolán McNamara <[email protected]> | 65dcd1d8195069c8c8acb3a188b8e5616c51029c | core | cvefixes | 1 | https://github.com/libreoffice/core | https://github.com/libreoffice/core/commit/65dcd1d8195069c8c8acb3a188b8e5616c51029c | 2017-03-14 09:25:22+00:00 |
ofz#889 readjust jpeg import
Change-Id: I4e25db429b8dee9265ab2ad468c21cc34a50df6c
Reviewed-on: https://gerrit.libreoffice.org/35325
Tested-by: Jenkins <[email protected]>
Reviewed-by: Caolán McNamara <[email protected]>
Tested-by: Caolán McNamara <[email protected]> | 6e6e54f944a5ebb49e9110bdeff844d00a96c56c | core | cvefixes | 1 | https://github.com/libreoffice/core | https://github.com/libreoffice/core/commit/6e6e54f944a5ebb49e9110bdeff844d00a96c56c | 2017-03-17 23:36:41+00:00 |
qemu: Add missing lock in qemuProcessHandleMonitorEOF
qemuMonitorUnregister will be called in multiple threads (e.g. threads
in rpc worker pool and the vm event thread). In some cases, it isn't
protected by the monitor lock, which may lead to call g_source_unref
more than one time and a use-after-free problem eventually.
Add the missing lock in qemuProcessHandleMonitorEOF (which is the only
position missing lock of monitor I found).
Suggested-by: Michal Privoznik <[email protected]>
Signed-off-by: Peng Liang <[email protected]>
Signed-off-by: Michal Privoznik <[email protected]>
Reviewed-by: Michal Privoznik <[email protected]> | 1ac703a7d0789e46833f4013a3876c2e3af18ec7 | libvirt | cvefixes | 1 | https://github.com/libvirt/libvirt | https://github.com/libvirt/libvirt/commit/1ac703a7d0789e46833f4013a3876c2e3af18ec7 | 2021-02-24 15:00:51+01:00 |
fix: restrict sendToFrame to same-process frames by default (#26875) | 07a1c2a3e5845901f7e2eda9506695be58edc73c | electron | cvefixes | 1 | https://github.com/electron/electron | https://github.com/electron/electron/commit/07a1c2a3e5845901f7e2eda9506695be58edc73c | 2020-12-09 12:48:16-08:00 |
patch 8.2.3402: invalid memory access when using :retab with large value
Problem: Invalid memory access when using :retab with large value.
Solution: Check the number is positive. | b7081e135a16091c93f6f5f7525a5c58fb7ca9f9 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/b7081e135a16091c93f6f5f7525a5c58fb7ca9f9 | 2021-09-04 18:47:28+02:00 |
patch 8.2.3409: reading beyond end of line with invalid utf-8 character
Problem: Reading beyond end of line with invalid utf-8 character.
Solution: Check for NUL when advancing. | 65b605665997fad54ef39a93199e305af2fe4d7f | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/65b605665997fad54ef39a93199e305af2fe4d7f | 2021-09-07 19:26:53+02:00 |
patch 8.2.3428: using freed memory when replacing
Problem: Using freed memory when replacing. (Dhiraj Mishra)
Solution: Get the line pointer after calling ins_copychar(). | 35a9a00afcb20897d462a766793ff45534810dc3 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/35a9a00afcb20897d462a766793ff45534810dc3 | 2021-09-11 21:14:20+02:00 |
patch 8.2.3487: illegal memory access if buffer name is very long
Problem: Illegal memory access if buffer name is very long.
Solution: Make sure not to go over the end of the buffer. | 826bfe4bbd7594188e3d74d2539d9707b1c6a14b | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/826bfe4bbd7594188e3d74d2539d9707b1c6a14b | 2021-10-08 18:39:28+01:00 |
patch 8.2.3564: invalid memory access when scrolling without valid screen
Problem: Invalid memory access when scrolling without a valid screen.
Solution: Do not set VALID_BOTLINE in w_valid. | 777e7c21b7627be80961848ac560cb0a9978ff43 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/777e7c21b7627be80961848ac560cb0a9978ff43 | 2021-10-25 17:07:04+01:00 |
patch 8.2.3582: reading uninitialized memory when giving spell suggestions
Problem: Reading uninitialized memory when giving spell suggestions.
Solution: Check that preword is not empty. | 15d9890eee53afc61eb0a03b878a19cb5672f732 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/15d9890eee53afc61eb0a03b878a19cb5672f732 | 2021-11-04 15:46:05+00:00 |
patch 8.2.3610: crash when ModeChanged triggered too early
Problem: Crash when ModeChanged triggered too early.
Solution: Trigger ModeChanged after setting VIsual. | a062006b9de0b2947ab5fb376c6e67ef92a8cd69 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/a062006b9de0b2947ab5fb376c6e67ef92a8cd69 | 2021-11-17 16:52:40+00:00 |
patch 8.2.3611: crash when using CTRL-W f without finding a file name
Problem: Crash when using CTRL-W f without finding a file name.
Solution: Bail out when the file name length is zero. | 615ddd5342b50a6878a907062aa471740bd9a847 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/615ddd5342b50a6878a907062aa471740bd9a847 | 2021-11-17 18:00:31+00:00 |
patch 8.2.3612: using freed memory with regexp using a mark
Problem: Using freed memory with regexp using a mark.
Solution: Get the line again after getting the mark position. | 64066b9acd9f8cffdf4840f797748f938a13f2d6 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/64066b9acd9f8cffdf4840f797748f938a13f2d6 | 2021-11-17 18:22:56+00:00 |
patch 8.2.3625: illegal memory access when C-indenting
Problem: Illegal memory access when C-indenting.
Solution: Also set the cursor column. | 2de9b7c7c8791da8853a9a7ca9c467867465b655 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/2de9b7c7c8791da8853a9a7ca9c467867465b655 | 2021-11-19 19:41:13+00:00 |
patch 8.2.3669: buffer overflow with long help argument
Problem: Buffer overflow with long help argument.
Solution: Use snprintf(). | bd228fd097b41a798f90944b5d1245eddd484142 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/bd228fd097b41a798f90944b5d1245eddd484142 | 2021-11-25 10:50:12+00:00 |
patch 8.2.3847: illegal memory access when using a lambda with an error
Problem: Illegal memory access when using a lambda with an error.
Solution: Avoid skipping over the NUL after a string. | 605ec91e5a7330d61be313637e495fa02a6dc264 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/605ec91e5a7330d61be313637e495fa02a6dc264 | 2021-12-18 16:54:31+00:00 |
patch 8.2.3884: crash when clearing the argument list while using it
Problem: Crash when clearing the argument list while using it.
Solution: Lock the argument list for ":all". | 6f98371532fcff911b462d51bc64f2ce8a6ae682 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/6f98371532fcff911b462d51bc64f2ce8a6ae682 | 2021-12-24 18:11:27+00:00 |
patch 8.2.3902: Vim9: double free with nested :def function
Problem: Vim9: double free with nested :def function.
Solution: Pass "line_to_free" from compile_def_function() and make sure
cmdlinep is valid. | 9c23f9bb5fe435b28245ba8ac65aa0ca6b902c04 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/9c23f9bb5fe435b28245ba8ac65aa0ca6b902c04 | 2021-12-26 14:23:22+00:00 |
patch 8.2.3923: Vim9: double free with split argument list in nested function
Problem: Vim9: double free if a nested function has a line break in the
argument list.
Solution: Set cmdlinep when freeing the previous line. | 4bf1006cae7e87259ccd5219128c3dba75774441 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/4bf1006cae7e87259ccd5219128c3dba75774441 | 2021-12-28 17:23:12+00:00 |
patch 8.2.3949: using freed memory with /\%V
Problem: Using freed memory with /\%V.
Solution: Get the line again after getvvcol(). | 4c13e5e6763c6eb36a343a2b8235ea227202e952 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/4c13e5e6763c6eb36a343a2b8235ea227202e952 | 2021-12-30 14:49:43+00:00 |
patch 8.2.3950: going beyond the end of the line with /\%V
Problem: Going beyond the end of the line with /\%V.
Solution: Check for valid column in getvcol(). | 94f3192b03ed27474db80b4d3a409e107140738b | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/94f3192b03ed27474db80b4d3a409e107140738b | 2021-12-30 15:29:18+00:00 |
patch 8.2.4009: reading one byte beyond the end of the line
Problem: Reading one byte beyond the end of the line.
Solution: Check for NUL byte first. | d3a117814d6acbf0dca3eff1a7626843b9b3734a | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/d3a117814d6acbf0dca3eff1a7626843b9b3734a | 2022-01-05 16:50:40+00:00 |
patch 8.2.4040: keeping track of allocated lines is too complicated
Problem: Keeping track of allocated lines in user functions is too
complicated.
Solution: Instead of freeing individual lines keep them all until the end. | 9f1a39a5d1cd7989ada2d1cb32f97d84360e050f | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/9f1a39a5d1cd7989ada2d1cb32f97d84360e050f | 2022-01-08 15:39:39+00:00 |
patch 8.2.4049: Vim9: reading before the start of the line with "$"
Problem: Vim9: reading before the start of the line with "$" by itself.
Solution: Do not subtract one when reporting the error. | 5f25c3855071bd7e26255c68bf458b1b5cf92f39 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/5f25c3855071bd7e26255c68bf458b1b5cf92f39 | 2022-01-09 13:36:28+00:00 |
patch 8.2.4074: going over the end of NameBuff
Problem: Going over the end of NameBuff.
Solution: Check length when appending a space. | de05bb25733c3319e18dca44e9b59c6ee389eb26 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/de05bb25733c3319e18dca44e9b59c6ee389eb26 | 2022-01-13 13:08:14+00:00 |
patch 8.2.4120: block insert goes over the end of the line
Problem: Block insert goes over the end of the line.
Solution: Handle invalid byte better. Fix inserting the wrong text. | 9f8c304c8a390ade133bac29963dc8e56ab14cbc | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/9f8c304c8a390ade133bac29963dc8e56ab14cbc | 2022-01-17 17:30:21+00:00 |
patch 8.2.4151: reading beyond the end of a line
Problem: Reading beyond the end of a line.
Solution: For block insert only use the offset for correcting the length. | 57df9e8a9f9ae1aafdde9b86b10ad907627a87dc | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/57df9e8a9f9ae1aafdde9b86b10ad907627a87dc | 2022-01-20 12:10:48+00:00 |
patch 8.2.4154: ml_get error when exchanging windows in Visual mode
Problem: ml_get error when exchanging windows in Visual mode.
Solution: Correct end of Visual area when entering another buffer. | 05b27615481e72e3b338bb12990fb3e0c2ecc2a9 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/05b27615481e72e3b338bb12990fb3e0c2ecc2a9 | 2022-01-20 13:32:50+00:00 |
patch 8.2.4206: condition with many "(" causes a crash
Problem: Condition with many "(" causes a crash.
Solution: Limit recursion to 1000. | fe6fb267e6ee5c5da2f41889e4e0e0ac5bf4b89d | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/fe6fb267e6ee5c5da2f41889e4e0e0ac5bf4b89d | 2022-01-24 18:16:12+00:00 |
patch 8.2.4214: illegal memory access with large 'tabstop' in Ex mode
Problem: Illegal memory access with large 'tabstop' in Ex mode.
Solution: Allocate enough memory. | 85b6747abc15a7a81086db31289cf1b8b17e6cb1 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/85b6747abc15a7a81086db31289cf1b8b17e6cb1 | 2022-01-25 11:55:02+00:00 |
patch 8.2.4215: illegal memory access when copying lines in Visual mode
Problem: Illegal memory access when copying lines in Visual mode.
Solution: Adjust the Visual position after copying lines. | dc5490e2cbc8c16022a23b449b48c1bd0083f366 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/dc5490e2cbc8c16022a23b449b48c1bd0083f366 | 2022-01-25 13:52:53+00:00 |
patch 8.2.4217: illegal memory access when undo makes Visual area invalid
Problem: Illegal memory access when undo makes Visual area invalid.
Solution: Correct the Visual area after undo. | 8d02ce1ed75d008c34a5c9aaa51b67cbb9d33baa | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/8d02ce1ed75d008c34a5c9aaa51b67cbb9d33baa | 2022-01-25 18:24:00+00:00 |
patch 8.2.4218: illegal memory access with bracketed paste in Ex mode
Problem: Illegal memory access with bracketed paste in Ex mode.
Solution: Reserve space for the trailing NUL. | 806d037671e133bd28a7864248763f643967973a | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/806d037671e133bd28a7864248763f643967973a | 2022-01-25 20:45:16+00:00 |
patch 8.2.4219: reading before the start of the line
Problem: Reading before the start of the line.
Solution: Check boundary before trying to read the character. | 44db8213d38c39877d2148eff6a72f4beccfb94e | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/44db8213d38c39877d2148eff6a72f4beccfb94e | 2022-01-25 21:26:17+00:00 |
patch 8.2.4233: crash when recording and using Select mode
Problem: Crash when recording and using Select mode.
Solution: When deleting the last recorded character check there is something
to delete. | a4bc2dd7cccf5a4a9f78b58b6f35a45d17164323 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/a4bc2dd7cccf5a4a9f78b58b6f35a45d17164323 | 2022-01-27 19:27:16+00:00 |
patch 8.2.4245: ":retab 0" may cause illegal memory access
Problem: ":retab 0" may cause illegal memory access.
Solution: Limit the value of 'tabstop' to 10000. | 652dee448618589de5528a9e9a36995803f5557a | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/652dee448618589de5528a9e9a36995803f5557a | 2022-01-28 20:47:49+00:00 |
patch 8.2.4247: stack corruption when looking for spell suggestions
Problem: Stack corruption when looking for spell suggestions.
Solution: Prevent the depth increased too much. Add a five second time
limit to finding suggestions. | 06f15416bb8d5636200a10776f1752c4d6e49f31 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/06f15416bb8d5636200a10776f1752c4d6e49f31 | 2022-01-29 10:51:59+00:00 |
patch 8.2.4253: using freed memory when substitute with function call
Problem: Using freed memory when substitute uses a recursive function call.
Solution: Make a copy of the substitute text. | 37f47958b8a2a44abc60614271d9537e7f14e51a | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/37f47958b8a2a44abc60614271d9537e7f14e51a | 2022-01-29 14:21:51+00:00 |
patch 8.2.4281: using freed memory with :lopen and :bwipe
Problem: Using freed memory with :lopen and :bwipe.
Solution: Do not use a wiped out buffer. | 9b4a80a66544f2782040b641498754bcb5b8d461 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/9b4a80a66544f2782040b641498754bcb5b8d461 | 2022-02-01 13:54:17+00:00 |
patch 8.2.4327: may end up with no current buffer
Problem: May end up with no current buffer.
Solution: When deleting the current buffer to not pick a quickfix buffer as
the new current buffer. | e3537aec2f8d6470010547af28dcbd83d41461b8 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/e3537aec2f8d6470010547af28dcbd83d41461b8 | 2022-02-08 15:05:20+00:00 |
patch 8.2.4359: crash when repeatedly using :retab
Problem: crash when repeatedly using :retab.
Solution: Bail out when the line is getting too long. | 6e28703a8e41f775f64e442c5d11ce1ff599aa3f | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/6e28703a8e41f775f64e442c5d11ce1ff599aa3f | 2022-02-12 15:42:18+00:00 |
patch 8.2.4397: crash when using many composing characters in error message
Problem: Crash when using many composing characters in error message.
Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv(). | 34f8117dec685ace52cd9e578e2729db278163fc | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/34f8117dec685ace52cd9e578e2729db278163fc | 2022-02-16 12:16:19+00:00 |
patch 8.2.4418: crash when using special multi-byte character
Problem: Crash when using special multi-byte character.
Solution: Don't use isalpha() for an arbitrary character. | 5921aeb5741fc6e84c870d68c7c35b93ad0c9f87 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/5921aeb5741fc6e84c870d68c7c35b93ad0c9f87 | 2022-02-19 11:20:12+00:00 |
patch 8.2.4428: crash when switching tabpage while in the cmdline window
Problem: Crash when switching tabpage while in the cmdline window.
Solution: Disallow switching tabpage when in the cmdline window. | 0f6e28f686dbb59ab3b562408ab9b2234797b9b1 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/0f6e28f686dbb59ab3b562408ab9b2234797b9b1 | 2022-02-20 20:49:35+00:00 |
patch 8.2.4436: crash with weird 'vartabstop' value
Problem: Crash with weird 'vartabstop' value.
Solution: Check for running into the end of the line. | 4e889f98e95ac05d7c8bd3ee933ab4d47820fdfa | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/4e889f98e95ac05d7c8bd3ee933ab4d47820fdfa | 2022-02-21 19:36:12+00:00 |
patch 8.2.4440: crash with specific regexp pattern and string
Problem: Crash with specific regexp pattern and string.
Solution: Stop at the start of the string. | 6456fae9ba8e72c74b2c0c499eaf09974604ff30 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/6456fae9ba8e72c74b2c0c499eaf09974604ff30 | 2022-02-22 13:37:31+00:00 |
patch 8.2.4563: "z=" in Visual mode may go beyond the end of the line
Problem: "z=" in Visual mode may go beyond the end of the line.
Solution: Adjust "badlen". | 5c68617d395f9d7b824f68475b24ce3e38d653a3 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/5c68617d395f9d7b824f68475b24ce3e38d653a3 | 2022-03-13 20:12:25+00:00 |
patch 8.2.4646: using buffer line after it has been freed
Problem: Using buffer line after it has been freed in old regexp engine.
Solution: After getting mark get the line again. | b55986c52d4cd88a22d0b0b0e8a79547ba13e1d5 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/b55986c52d4cd88a22d0b0b0e8a79547ba13e1d5 | 2022-03-29 13:24:58+01:00 |
patch 8.2.4647: "source" can read past end of copied line
Problem: "source" can read past end of copied line.
Solution: Add a terminating NUL. | 2bdad6126778f907c0b98002bfebf0e611a3f5db | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/2bdad6126778f907c0b98002bfebf0e611a3f5db | 2022-03-29 19:52:12+01:00 |
patch 8.2.4774: crash when using a number for lambda name
Problem: Crash when using a number for lambda name.
Solution: Check the type of the lambda reference. | 8b91e71441069b1dde9ac9ff9d9a829b1b4aecca | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/8b91e71441069b1dde9ac9ff9d9a829b1b4aecca | 2022-04-17 15:06:35+01:00 |
patch 8.2.4899: with latin1 encoding CTRL-W might go before the cmdline
Problem: With latin1 encoding CTRL-W might go before the start of the
command line.
Solution: Check already being at the start of the command line. | ef02f16609ff0a26ffc6e20263523424980898fe | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/ef02f16609ff0a26ffc6e20263523424980898fe | 2022-05-07 10:49:10+01:00 |
patch 8.2.4901: NULL pointer access when using invalid pattern
Problem: NULL pointer access when using invalid pattern.
Solution: Check for failed regexp program. | 8e4b76da1d7e987d43ca960dfbc372d1c617466f | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/8e4b76da1d7e987d43ca960dfbc372d1c617466f | 2022-05-07 11:28:06+01:00 |
patch 8.2.4919: can add invalid bytes with :spellgood
Problem: Can add invalid bytes with :spellgood.
Solution: Check for a valid word string. | 7c824682d2028432ee082703ef0ab399867a089b | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/7c824682d2028432ee082703ef0ab399867a089b | 2022-05-08 22:32:58+01:00 |
patch 8.2.4925: trailing backslash may cause reading past end of line
Problem: Trailing backslash may cause reading past end of line.
Solution: Check for NUL after backslash. | 53a70289c2712808e6d4e88927e03cac01b470dd | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/53a70289c2712808e6d4e88927e03cac01b470dd | 2022-05-09 13:15:07+01:00 |
patch 8.2.4938: crash when matching buffer with invalid pattern
Problem: Crash when matching buffer with invalid pattern.
Solution: Check for NULL regprog. | a59f2dfd0cf9ee1a584d3de5b7c2d47648e79060 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/a59f2dfd0cf9ee1a584d3de5b7c2d47648e79060 | 2022-05-11 11:42:28+01:00 |
patch 8.2.4956: reading past end of line with "gf" in Visual block mode
Problem: Reading past end of line with "gf" in Visual block mode.
Solution: Do not include the NUL in the length. | 395bd1f6d3edc9f7edb5d1f2d7deaf5a9e3ab93c | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/395bd1f6d3edc9f7edb5d1f2d7deaf5a9e3ab93c | 2022-05-14 21:29:44+01:00 |
patch 8.2.4968: reading past end of the line when C-indenting
Problem: Reading past end of the line when C-indenting.
Solution: Check for NUL. | 60ae0e71490c97f2871a6344aca61cacf220f813 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/60ae0e71490c97f2871a6344aca61cacf220f813 | 2022-05-16 18:06:15+01:00 |
patch 8.2.4969: changing text in Visual mode may cause invalid memory access
Problem: Changing text in Visual mode may cause invalid memory access.
Solution: Check the Visual position after making a change. | 7ce5b2b590256ce53d6af28c1d203fb3bc1d2d97 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/7ce5b2b590256ce53d6af28c1d203fb3bc1d2d97 | 2022-05-16 19:40:59+01:00 |
patch 8.2.4974: ":so" command may read after end of buffer
Problem: ":so" command may read after end of buffer.
Solution: Compute length of text properly. | 4748c4bd64610cf943a431d215bb1aad51f8d0b4 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/4748c4bd64610cf943a431d215bb1aad51f8d0b4 | 2022-05-17 17:47:07+01:00 |
patch 8.2.4975: recursive command line loop may cause a crash
Problem: Recursive command line loop may cause a crash.
Solution: Limit recursion of getcmdline(). | 51f0bfb88a3554ca2dde777d78a59880d1ee37a8 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/51f0bfb88a3554ca2dde777d78a59880d1ee37a8 | 2022-05-17 20:11:02+01:00 |
patch 8.2.4977: memory access error when substitute expression changes window
Problem: Memory access error when substitute expression changes window.
Solution: Disallow changing window in substitute expression. | e2bd8600b873d2cd1f9d667c28cba8b1dba18839 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/e2bd8600b873d2cd1f9d667c28cba8b1dba18839 | 2022-05-18 13:11:57+01:00 |
patch 8.2.4979: accessing freed memory when line is flushed
Problem: Accessing freed memory when line is flushed.
Solution: Make a copy of the pattern to search for. | 28d032cc688ccfda18c5bbcab8b50aba6e18cde5 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/28d032cc688ccfda18c5bbcab8b50aba6e18cde5 | 2022-05-18 16:29:08+01:00 |
patch 8.2.5013: after text formatting cursor may be in an invalid position
Problem: After text formatting the cursor may be in an invalid position.
Solution: Correct the cursor position after formatting. | 78d52883e10d71f23ab72a3d8b9733b00da8c9ad | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/78d52883e10d71f23ab72a3d8b9733b00da8c9ad | 2022-05-24 13:57:54+01:00 |
patch 8.2.5016: access before start of text with a put command
Problem: Access before start of text with a put command.
Solution: Check the length is more than zero. | 2a585c85013be22f59f184d49612074fd9b115d7 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/2a585c85013be22f59f184d49612074fd9b115d7 | 2022-05-25 15:15:38+01:00 |
patch 8.2.5023: substitute overwrites allocated buffer
Problem: Substitute overwrites allocated buffer.
Solution: Disallow undo when in a substitute command. | 338f1fc0ee3ca929387448fe464579d6113fa76a | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/338f1fc0ee3ca929387448fe464579d6113fa76a | 2022-05-26 15:56:23+01:00 |
patch 8.2.5024: using freed memory with "]d"
Problem: Using freed memory with "]d".
Solution: Copy the pattern before searching. | e2fa213cf571041dbd04ab0329303ffdc980678a | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/e2fa213cf571041dbd04ab0329303ffdc980678a | 2022-05-26 16:32:44+01:00 |
patch 8.2.5043: can open a cmdline window from a substitute expression
Problem: Can open a cmdline window from a substitute expression.
Solution: Disallow opening a command line window when text or buffer is
locked. | 71223e2db87c2bf3b09aecb46266b56cda26191d | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/71223e2db87c2bf3b09aecb46266b56cda26191d | 2022-05-30 15:23:09+01:00 |
patch 8.2.5050: using freed memory when searching for pattern in path
Problem: Using freed memory when searching for pattern in path.
Solution: Make a copy of the line. | 409510c588b1eec1ae33511ae97a21eb8e110895 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/409510c588b1eec1ae33511ae97a21eb8e110895 | 2022-06-01 15:23:13+01:00 |
patch 8.2.5072: using uninitialized value and freed memory in spell command
Problem: Using uninitialized value and freed memory in spell command.
Solution: Initialize "attr". Check for empty line early. | 2813f38e021c6e6581c0c88fcf107e41788bc835 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/2813f38e021c6e6581c0c88fcf107e41788bc835 | 2022-06-09 19:54:24+01:00 |
patch 8.2.5120: searching for quotes may go over the end of the line
Problem: Searching for quotes may go over the end of the line.
Solution: Check for running into the NUL. | 2f074f4685897ab7212e25931eeeb0212292829f | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/2f074f4685897ab7212e25931eeeb0212292829f | 2022-06-18 11:22:40+01:00 |
patch 8.2.5122: lisp indenting my run over the end of the line
Problem: Lisp indenting my run over the end of the line.
Solution: Check for NUL earlier. | 0e8e938d497260dd57be67b4966cb27a5f72376f | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/0e8e938d497260dd57be67b4966cb27a5f72376f | 2022-06-18 12:51:11+01:00 |
patch 8.2.5123: using invalid index when looking for spell suggestions
Problem: Using invalid index when looking for spell suggestions.
Solution: Do not decrement the index when it is zero. | 156d3911952d73b03d7420dc3540215247db0fe8 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/156d3911952d73b03d7420dc3540215247db0fe8 | 2022-06-18 14:09:08+01:00 |
patch 8.2.5148: invalid memory access when using expression on command line
Problem: Invalid memory access when using an expression on the command line.
Solution: Make sure the position does not go negative. | 6046aded8da002b08d380db29de2ba0268b6616e | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/6046aded8da002b08d380db29de2ba0268b6616e | 2022-06-22 13:51:54+01:00 |
patch 8.2.5151: reading beyond the end of the line with lisp indenting
Problem: Reading beyond the end of the line with lisp indenting.
Solution: Avoid going over the NUL at the end of the line. | 8eba2bd291b347e3008aa9e565652d51ad638cfa | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/8eba2bd291b347e3008aa9e565652d51ad638cfa | 2022-06-22 19:59:28+01:00 |
patch 8.2.5160: accessing invalid memory after changing terminal size
Problem: Accessing invalid memory after changing terminal size.
Solution: Adjust cmdline_row and msg_row to the value of Rows. | e178af5a586ea023622d460779fdcabbbfac0908 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/e178af5a586ea023622d460779fdcabbbfac0908 | 2022-06-25 19:54:09+01:00 |
patch 8.2.5162: reading before the start of the line with BS in Replace mode
Problem: Reading before the start of the line with BS in Replace mode.
Solution: Check the cursor column is more than zero. | 0971c7a4e537ea120a6bb2195960be8d0815e97b | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/0971c7a4e537ea120a6bb2195960be8d0815e97b | 2022-06-26 12:59:02+01:00 |
patch 8.2.5163: crash when deleting buffers in diff mode
Problem: Crash when deleting buffers in diff mode.
Solution: Recompute diffs later. Skip window without a valid buffer. | cd38bb4d83c942c4bad596835c6766cbf32e5195 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/cd38bb4d83c942c4bad596835c6766cbf32e5195 | 2022-06-26 14:04:07+01:00 |
patch 8.2.5164: invalid memory access after diff buffer manipulations
Problem: Invalid memory access after diff buffer manipulations.
Solution: Use zero offset when change removes all lines in a diff block. | c101abff4c6756db4f5e740fde289decb9452efa | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/c101abff4c6756db4f5e740fde289decb9452efa | 2022-06-26 16:53:34+01:00 |
patch 8.2.5169: nested :source may use NULL pointer
Problem: Nested :source may use NULL pointer.
Solution: Do not use the NULL pointer. | 79481367a457951aabd9501b510fd7e3eb29c3d8 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/79481367a457951aabd9501b510fd7e3eb29c3d8 | 2022-06-27 20:15:10+01:00 |
patch 9.0.0009: going past the end of a menu item with only modifier
Problem: Going past the end of a menu item with only modifier.
Solution: Check for NUL. | 083692d598139228e101b8c521aaef7bcf256e9a | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/083692d598139228e101b8c521aaef7bcf256e9a | 2022-06-29 21:16:58+01:00 |
patch 9.0.0011: reading beyond the end of the line with put command
Problem: Reading beyond the end of the line with put command.
Solution: Adjust the end mark position. | d25f003342aca9889067f2e839963dfeccf1fe05 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/d25f003342aca9889067f2e839963dfeccf1fe05 | 2022-06-30 12:30:19+01:00 |
patch 9.0.0017: accessing memory beyond the end of the line
Problem: Accessing memory beyond the end of the line.
Solution: Stop Visual mode when closing a window. | 3d51ce18ab1be4f9f6061568a4e7fabf00b21794 | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/3d51ce18ab1be4f9f6061568a4e7fabf00b21794 | 2022-07-01 15:26:15+01:00 |
patch 9.0.0018: going over the end of the typahead
Problem: Going over the end of the typahead.
Solution: Put a NUL after the typeahead. | 27efc62f5d86afcb2ecb7565587fe8dea4b036fe | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/27efc62f5d86afcb2ecb7565587fe8dea4b036fe | 2022-07-01 16:35:45+01:00 |
patch 9.0.0020: with some completion reading past end of string
Problem: With some completion reading past end of string.
Solution: Check the length of the string. | f12129f1714f7d2301935bb21d896609bdac221c | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/f12129f1714f7d2301935bb21d896609bdac221c | 2022-07-01 19:58:30+01:00 |
patch 9.0.0026: accessing freed memory with diff put
Problem: Accessing freed memory with diff put.
Solution: Bail out when diff pointer is no longer valid. | c5274dd12224421f2430b30c53b881b9403d649e | vim | cvefixes | 1 | https://github.com/vim/vim | https://github.com/vim/vim/commit/c5274dd12224421f2430b30c53b881b9403d649e | 2022-07-02 15:10:00+01:00 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.