diff options
author | rbuj <[email protected]> | 2020-12-24 17:41:42 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-01-01 11:46:04 +0100 |
commit | 51103d7c7d87f8bde37d96956f8f266402846f13 (patch) | |
tree | c27febcf110a52acb32970e32e4304aa417af4db /src | |
parent | 89808a8d4c1c12b2698236c7c2dd03fee4371f7f (diff) | |
download | eom-51103d7c7d87f8bde37d96956f8f266402846f13.tar.bz2 eom-51103d7c7d87f8bde37d96956f8f266402846f13.tar.xz |
eom-uri-converter: dereference of NULL 'repl_str' reported by gcc
Diffstat (limited to 'src')
-rw-r--r-- | src/eom-uri-converter.c | 2 |
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); } |