libedata-cal: Fix a potential g_strstrip(NULL) call
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 29 Nov 2013 08:56:57 +0000 (08:56 +0000)
committerMatthew Barnes <mbarnes@redhat.com>
Tue, 3 Dec 2013 21:37:25 +0000 (16:37 -0500)
commit3304de4e2db1be25fb40a413e824b6c0f44069a9
treec369646cfca3472094b971013b7ffea898d0f229
parentf851d77bcec88d4a2e664185ba760f9cfd08ee1f
libedata-cal: Fix a potential g_strstrip(NULL) call

If the calendar contained any attendees _not_ prefixed with ‘mailto:’,
the text variable would be NULL, and would cause an assertion failure in
g_strstrip().

Found by scan-build.

https://bugzilla.gnome.org/719533
calendar/libedata-cal/e-cal-backend-util.c