Bug 98026 - No declaration of icalvalue_new_from_string in eas-cal-info-translator.c
Summary: No declaration of icalvalue_new_from_string in eas-cal-info-translator.c
Status: RESOLVED FIXED
Alias: None
Product: SyncEvolution
Classification: Unclassified
Component: ActiveSync (show other bugs)
Version: 1.5.2
Hardware: Other All
: medium major
Assignee: Patrick Ohly
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-03 12:33 UTC by Graham Cobb
Modified: 2016-10-14 08:48 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Graham Cobb 2016-10-03 12:33:45 UTC
eas-cal-info-translator.c calls icalvalue_new_from_string without including the appropriate header file.

This then causes a crash when an unmapped data field needs to be handled (because of int being converted to pointer and being sign-extended). 

#include <libical/ical.h>

fixes the problem.
Comment 1 Patrick Ohly 2016-10-14 08:48:55 UTC
Fixed in commit 6f34f9726b9f122 (current master). Thanks Graham!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.