Merge lp://qastaging/~larsu/indicator-datetime/lp1061867 into lp://qastaging/indicator-datetime/12.10

Proposed by Lars Karlitski
Status: Merged
Approved by: Charles Kerr
Approved revision: 189
Merged at revision: 189
Proposed branch: lp://qastaging/~larsu/indicator-datetime/lp1061867
Merge into: lp://qastaging/indicator-datetime/12.10
Diff against target: 16 lines (+6/-0)
1 file modified
src/datetime-service.c (+6/-0)
To merge this branch: bzr merge lp://qastaging/~larsu/indicator-datetime/lp1061867
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
jenkins (community) continuous-integration Needs Fixing
Charles Kerr (community) Approve
Mathieu Trudel-Lapierre Approve
Review via email: mp+128248@code.qastaging.launchpad.net

Description of the change

I cannot reproduce bug #1061867, but it seems this missing NULL check is the issue.

e_cal_client_new's documentation isn't very helpful: it takes a GError but doesn't state whether the returned value might be NULL.

To post a comment you must log in.
Revision history for this message
jenkins (martin-mrazik+qa) wrote :
review: Approve (continuous-integration)
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Looks fine, there's a few cases where the function above can return NULL (without an error), namely if the source is invalid or if it's the wrong type, and it's very likely that the appointment sources might in fact be of type other than ..._EVENT if people have complex calendars (memos, tasks).

review: Approve
Revision history for this message
Charles Kerr (charlesk) wrote :

I'm not able to trigger this crash, but looking at the report and reading this code, I agree with Lars' reasoning.

review: Approve
Revision history for this message
jenkins (martin-mrazik+qa) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches