Patch 8.0.0215
Problem: When a Cscope line contains CTRL-L a NULL pointer may be used.
(Coverity)
Solution: Don't check for an emacs tag in a cscope line.
Files: src/tag.c
*** ../vim-8.0.0214/src/tag.c 2017-01-16 20:53:31.154599637 +0100
--- src/tag.c 2017-01-22 15:34:33.960810378 +0100
***************
*** 1752,1759 ****
/*
* Emacs tags line with CTRL-L: New file name on next line.
* The file name is followed by a ','.
*/
! if (*lbuf == Ctrl_L) /* remember etag file name in ebuf */
{
is_etag = 1; /* in case at the start */
state = TS_LINEAR;
--- 1752,1760 ----
/*
* Emacs tags line with CTRL-L: New file name on next line.
* The file name is followed by a ','.
+ * Remember etag file name in ebuf.
*/
! if (*lbuf == Ctrl_L && !use_cscope)
{
is_etag = 1; /* in case at the start */
state = TS_LINEAR;
*** ../vim-8.0.0214/src/version.c 2017-01-22 15:28:47.771002874 +0100
--- src/version.c 2017-01-22 15:35:33.932430614 +0100
***************
*** 766,767 ****
--- 766,769 ----
{ /* Add new patch number below this line */
+ /**/
+ 215,
/**/
--
You were lucky. We lived for three months in a brown paper bag in a
septic tank. We used to have to get up at six o'clock in the morning,
clean the bag, eat a crust of stale bread, go to work down mill for
fourteen hours a day week in-week out. When we got home, our Dad
would thrash us to sleep with his belt!
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.