diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-02-25 06:15:26 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-02-25 06:15:26 +0800 |
commit | afea60336c6d2bf2e50cfba7c839d5cfd4168581 (patch) | |
tree | 40fb1aa932d12aa1056419998ee57eb8cf4033aa /composer/e-msg-composer.c | |
parent | 910eaf99d2cc3e0d7de73973b2047755a9a00fa7 (diff) | |
download | gsoc2013-evolution-afea60336c6d2bf2e50cfba7c839d5cfd4168581.tar.gz gsoc2013-evolution-afea60336c6d2bf2e50cfba7c839d5cfd4168581.tar.zst gsoc2013-evolution-afea60336c6d2bf2e50cfba7c839d5cfd4168581.zip |
Make sure the url is != NULL? I can't think of anything else in this code
2003-02-24 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (drag_data_received): Make sure the url is !=
NULL? I can't think of anything else in this code that could
possibly cause bug #38382.
svn path=/trunk/; revision=20046
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 8cbefb3edd..8cea22d775 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -2493,6 +2493,10 @@ drag_data_received (EMsgComposer *composer, GdkDragContext *context, } else { url = camel_url_new (str, NULL); g_free (str); + + if (url == NULL) + continue; + filename = url->path; url->path = NULL; camel_url_free (url); |