printf SEGV when passing NULL string on Solaris 10 in icalparser.c

RESOLVED FIXED in 1.3

Status

defect
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: ginnchen+exoracle, Assigned: ginnchen+exoracle)

Tracking

unspecified
All
Solaris

Details

(Whiteboard: [libical-upstream?])

Attachments

(1 attachment)

Assignee

Description

8 years ago
On Solaris 10, printf("%s", 0) will cause SEGV.

In icalparser.c, icalproperty_kind_to_string() returns 0 and caused SEGV with Gloda enabled.
Assignee

Comment 1

8 years ago
Posted patch patchSplinter Review
Assignee: nobody → ginn.chen
Status: NEW → ASSIGNED
Attachment #595335 - Flags: review?(philipp)
Pushed to comm-central changeset e8afafcf0a12
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.5
Backported to releases/comm-aurora changeset 8811915b46f3
Target Milestone: 1.5 → 1.4
Backported to releases/comm-beta changeset e5f48721a629
Target Milestone: 1.4 → 1.3
(In reply to Philipp Kewisch [:Fallen] from comment #3)
> Pushed to comm-central changeset e8afafcf0a12

r+ is missing1 ;)
Whiteboard: [libical-upstream?]
Comment on attachment 595335 [details] [diff] [review]
patch

My bad :)
Attachment #595335 - Flags: review?(philipp) → review+
You need to log in before you can comment on or make changes to this bug.