Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
b4f834d4
Commit
b4f834d4
authored
May 26, 2011
by
Moritz Lipp
Browse files
Fix segmentation fault in extension checking
parent
5847b5e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils.c
View file @
b4f834d4
...
...
@@ -57,6 +57,10 @@ file_valid_extension(zathura_t* zathura, const char* path)
const
char
*
file_extension
=
file_get_extension
(
path
);
if
(
file_extension
==
NULL
)
{
return
false
;
}
girara_list_iterator_t
*
iter
=
girara_list_iterator
(
zathura
->
plugins
.
plugins
);
if
(
iter
==
NULL
)
{
return
false
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment