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
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
Pipeline #6576 passed
Status
Pipeline
Created by
Stages
Actions
Passed

00:10:52

avatar
Download artifacts

No artifacts found

Passed

00:21:25

avatar
Download artifacts

No artifacts found

Passed

00:08:33

avatar
Download artifacts

No artifacts found