projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d59235
)
Prevent an unlikely crash during RSSyl feed properties save.
author
Andrej Kacian
<ticho@claws-mail.org>
Sat, 9 Apr 2016 16:06:26 +0000
(18:06 +0200)
committer
Andrej Kacian
<ticho@claws-mail.org>
Sat, 9 Apr 2016 16:06:26 +0000
(18:06 +0200)
This is just to shut Coverity up, I don't think it could
ever crash this way.
src/plugins/rssyl/rssyl_feed_props.c
patch
|
blob
|
history
diff --git
a/src/plugins/rssyl/rssyl_feed_props.c
b/src/plugins/rssyl/rssyl_feed_props.c
index ac29f2410ad595d553a92998e1878ffd805ab7bc..30dd9e94307782e78c83d30e58db095cc6fff27d 100644
(file)
--- a/
src/plugins/rssyl/rssyl_feed_props.c
+++ b/
src/plugins/rssyl/rssyl_feed_props.c
@@
-49,6
+49,7
@@
static void rssyl_gtk_prop_store(RFolderItem *ritem)
g_return_if_fail(ritem != NULL);
g_return_if_fail(ritem->feedprop != NULL);
+ g_return_if_fail(ritem->url != NULL);
url = (gchar *)gtk_entry_get_text(GTK_ENTRY(ritem->feedprop->url));