[Ctags-devel] Fwd: [ctags:bugs] #358 Vim parser: Segmentation fault when reaing empty vim file
Brought to you by:
dhiebert
From: David F. <dfi...@gm...> - 2015-05-12 18:04:03
|
Darren, Any idea why I cannot assign any bugs to myself? Have my permissions on the project changed? I still seem my name listed as part of the development team. Perhaps I just am missing how to assign the issue from this web page. What am I supposed to click on to make the assignment. I used to do this all the time before, but everything appears to be read only. http://sourceforge.net/p/ctags/bugs/358 Username: dfishburn Thanks, David ---------- Forwarded message ---------- From: Masatake YAMATO <m_y...@us...> Date: Tue, May 12, 2015 at 1:28 PM Subject: [ctags:bugs] #358 Vim parser: Segmentation fault when reaing empty vim file To: "[ctags:bugs]" <35...@bu...> David, still you cannot assign the issue to you? ------------------------------ * [bugs:#358] <http://sourceforge.net/p/ctags/bugs/358> Vim parser: Segmentation fault when reaing empty vim file* *Status:* open *Group:* *Created:* Fri Jun 20, 2014 09:47 AM UTC by Ariya Mizutani *Last Updated:* Fri Sep 19, 2014 04:44 PM UTC *Owner:* nobody This patch solves the problem. diff --git a/vim.c b/vim.cindex fb971ea..d1285eb 100644--- a/vim.c+++ b/vim.c@@ -717,6 +717,11 @@ static void findVimTags (void) line = readVimLine(); + if (line == NULL)+ {+ return;+ }+ if ( strncmp ((const char*) line, "UseVimball", (size_t) 10) == 0 ) { parseVimBallFile (line); ------------------------------ Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/ctags/bugs/358/ To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ |