aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spellfile.c
Commit message (Collapse)AuthorAge
* vim-patch:8.0.1225: no check for spell region being zeroJustin M. Keyes2018-01-16
| | | | | | | Problem: No check for spell region being zero. (geeknik) Solution: Check for zero. (closes vim/vim#2252) https://github.com/vim/vim/commit/ee03b941241eae1d36bc29b84eec09116cefe7cd
* spellfile: Fix V547: always true conditionZyX2017-05-20
| | | This condition was already checked at the surrounding if() at line 2422.
* *: Add comment to all C filesZyX2017-04-19
|
* spellfile: Fix SAL sections readingZyX2017-04-09
|
* spellfile: Fix clint errorsZyX2017-04-09
|
* spellfile: Fix memory leakZyX2017-04-09
|
* coverity/13689: Check file header with memcmpZyX2017-04-09
| | | | Not that it is actually useful (would fail in any case), but should fix coverity report.
* coverity/13688: Check for NUL bytes in salfromZyX2017-04-09
|
* coverity/13687: Do not allow NUL byte in region namesZyX2017-04-09
|
* spellfile: Use old errorZyX2017-04-09
| | | This makes first test not actually show any change in behaviour.
* coverity/13686: Do not allow NUL byte in precondition regexZyX2017-04-09
| | | | | | | Before this commit it emitted e_spell_trunc in the first case and treated file as completely valid on the second. While first is fine (both errors are actually valid, though old error is probably better), second results in incorrect regex used.
* lintJames McCoy2017-04-09
|
* vim-patch:8.0.0376James McCoy2017-04-09
| | | | | | | Problem: Size computations in spell file reading are not exactly right. Solution: Make "len" a "long" and check with LONG_MAX. https://github.com/vim/vim/commit/6d3c8586fc81b022e9f06c611b9926108fb878c7
* vim-patch:8.0.0322James McCoy2017-04-09
| | | | | | | | | | Problem: Possible overflow with spell file where the tree length is corrupted. Solution: Check for an invalid length (suggested by shqking) https://github.com/vim/vim/commit/399c297aa93afe2c0a39e2a1b3f972aebba44c9d CVE-2017-5953
* eval: Move remaining get_tv_string* functions to eval/typval.cZyX2017-03-29
|
* *: Move some dictionary functions to typval.h and use char*ZyX2017-03-29
| | | | Also fixes buffer reusage in setmatches() and complete().
* lintJames McCoy2017-03-11
|
* vim-patch:7.4.2069James McCoy2017-03-11
Problem: spell.c is too big. Solution: Split it in spell file handling and spell checking. https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381