diff options
author | Suman Manjunath <msuman@src.gnome.org> | 2008-01-07 00:43:58 +0800 |
---|---|---|
committer | Suman Manjunath <msuman@src.gnome.org> | 2008-01-07 00:43:58 +0800 |
commit | 82f7125f45269be8d2cded86d8c7fe37bd0364dc (patch) | |
tree | fbaae0c1b3a295879d0e7d21205dbe00c3d3d0cb /addressbook/tools | |
parent | 07cd05990fb01fc9021c23f0a29b3d49f6271ecd (diff) | |
download | gsoc2013-evolution-82f7125f45269be8d2cded86d8c7fe37bd0364dc.tar.gz gsoc2013-evolution-82f7125f45269be8d2cded86d8c7fe37bd0364dc.tar.zst gsoc2013-evolution-82f7125f45269be8d2cded86d8c7fe37bd0364dc.zip |
Patch from Christian Krause <chkr@plauener.de>: Fix for bug #506772 (Not-NULL check for a string array before finding its length), handle NULL filename strings before backup/restore/check operations in the backup-restore plugin.
svn path=/trunk/; revision=34768
Diffstat (limited to 'addressbook/tools')
-rw-r--r-- | addressbook/tools/evolution-addressbook-export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/tools/evolution-addressbook-export.c b/addressbook/tools/evolution-addressbook-export.c index 92f05664d1..ec05a1da63 100644 --- a/addressbook/tools/evolution-addressbook-export.c +++ b/addressbook/tools/evolution-addressbook-export.c @@ -92,7 +92,7 @@ main (int argc, char **argv) GNOME_PARAM_NONE); /* Parsing Parameter */ - if (g_strv_length (opt_remaining) > 0) + if (opt_remaining && g_strv_length (opt_remaining) > 0) opt_addressbook_folder_uri = g_strdup (opt_remaining[0]); if (opt_list_folders_mode != FALSE) { |