Skip to content
Snippets Groups Projects
Commit 0afbc6a9 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix NULL dereference when there are no directory vshortcuts defined

As reported by Accession in #synchronet at irc.synchro.net
parent 5412476c
No related branches found
No related tags found
No related merge requests found
Pipeline #7685 passed
...@@ -3365,6 +3365,7 @@ static void add_vshortcuts() ...@@ -3365,6 +3365,7 @@ static void add_vshortcuts()
break; break;
count++; count++;
} }
if(alias_list != NULL)
alias_list[count] = NULL; /* terminate list */ alias_list[count] = NULL; /* terminate list */
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment