Commit 7040e703 7040e70383e8438e616eeff447aebea21975e376 by Sergey Poznyakoff

Bugfix: possible dereference of NULL pointer

1 parent 1f024db3
......@@ -55,7 +55,7 @@ mail_set (int argc, char **argv)
if (entry == NULL)
return 1;
i += 2;
if (i > argc)
if (i >= argc)
break;
value = strdup (argv[i]);
entry->set = 1;
......