summaryrefslogtreecommitdiff
path: root/src/eom-uri-converter.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-24 17:41:42 +0100
committerraveit65 <[email protected]>2021-01-01 11:46:04 +0100
commit51103d7c7d87f8bde37d96956f8f266402846f13 (patch)
treec27febcf110a52acb32970e32e4304aa417af4db /src/eom-uri-converter.c
parent89808a8d4c1c12b2698236c7c2dd03fee4371f7f (diff)
downloadeom-51103d7c7d87f8bde37d96956f8f266402846f13.tar.bz2
eom-51103d7c7d87f8bde37d96956f8f266402846f13.tar.xz
eom-uri-converter: dereference of NULL 'repl_str' reported by gcc
Diffstat (limited to 'src/eom-uri-converter.c')
-rw-r--r--src/eom-uri-converter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eom-uri-converter.c b/src/eom-uri-converter.c
index d38b52d..68c5714 100644
--- a/src/eom-uri-converter.c
+++ b/src/eom-uri-converter.c
@@ -794,7 +794,7 @@ eom_uri_converter_do (EomURIConverter *conv, EomImage *image,
repl_str = replace_remove_chars (str, priv->convert_spaces, priv->space_character);
- if (repl_str->len > 0) {
+ if ((repl_str != NULL) && (repl_str->len > 0)) {
build_absolute_file (conv, image, repl_str, file, format);
}