On Tue, Nov 18, 2008 at 10:55:56PM +0100, Dominique Pelle wrote: > for (i = 0; s[i] != NUL && i < sizeof(buf) - 1; ++i) > > The test (i < sizeof(buf) - 1) prevents overflow in buf[...], > I would not remove it.
Of course; I was too focused on figuring out what the original code was (or wasn't) doing. I'm happy to add the patch into the stream for the Solaris build, would would much rather simply pull an official patch. Is there anything I can do to streamline that process? Thanks, Danek --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
