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

Fix NULL pointer deref in random_menu()

When no files with extensions are found, though they matched the glob()
pattern, a NULL pointer deref would result (segfault).

This could happen if the only files matching the pattern had no extenions or
were directories (not files).

Fix for issue #779
parent e93b6dfa
Branches
Tags
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment