GNOME Bugzilla – Bug 730320
Coverity caught some bugs in the code
Last modified: 2014-05-19 11:08:59 UTC
I've added the maintainers of the project in the Coverity and we can use the tool from time to time.
Created attachment 276719 [details] [review] Fix 'Unintialized pointer read' Catch by https://scan.coverity.com
Created attachment 276720 [details] [review] Fix 'Uninitialized scalar variable' Catch by https://scan.coverity.com
Created attachment 276721 [details] [review] Fix 'Logically dead code' Catch by https://scan.coverity.com
Created attachment 276724 [details] [review] Fix 'Logically dead code' Catch by https://scan.coverity.com
Review of attachment 276724 [details] [review]: Please update this one. ::: src/calendar/e-cal-backend-ews.c @@ +2230,1 @@ EEwsItem *item = ids->data; I suppose, after your change, the 'ids' will be NULL here (check when you get to this path). @@ +2261,3 @@ } if (error == NULL) { here should be used 'local_error' instead (when you'll be in the changes here).
Review of attachment 276719 [details] [review]: This looks fine.
Review of attachment 276720 [details] [review]: This looks fine too. Thanks.
Created attachment 276745 [details] [review] Fix 'Logically dead code' Catch by https://scan.coverity.com
Review of attachment 276745 [details] [review]: Thanks, it looks better. I didn't test it, but looks fine. Feel free to commit it.
Okay, pushed! Will be available on 3.13.2+ and 3.12.3+.