Problem: Invalid memory access when doing ":call g:".
Solution: Check for an empty name. (Dominique Pelle)
/*
* Find the hashtab used for a variable name.
+ * Return NULL if the name is not valid.
* Set "varname" to the start of name without ':'.
*/
static hashtab_T *
{
hashitem_T *hi;
+ if (name[0] == NUL)
+ return NULL;
if (name[1] != ':')
{
/* The name must not start with a colon or #. */
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 815,
/**/
814,
/**/