GNOME Bugzilla – Bug 607651
Crashed with SIGSEGV in get_SPropValue
Last modified: 2010-06-15 17:53:04 UTC
this report has been filed here: https://bugs.edge.launchpad.net/ubuntu/+source/evolution-mapi/+bug/510527 "When i activated the Calendar "checkmark" for my Exchange 2007 account, Evolution crashed." ".
+ Trace 220176
Thread 1 (process 1931)
*** Bug 570354 has been marked as a duplicate of this bug. ***
Created attachment 153861 [details] [review] ema patch for evolution-mapi; get_SPropValue has as the first parameter array of struct SPropValue. There is no information about the array size, thus it's using the element with zero lpProps[i].ulPropTag as a sentinel. The problematic point was with recipient->out.all_cValues, where was turned struct SRow (which has an information about array size and no sentinel property in the array) into an array only, thus when called get_SPropValue it could exceed array boundary. It didn't crash for me, but valgrind was reporting issue with that. Changing recipient->out to struct SRow fixes the issue. The above patch also adds sentinel items to arrays of struct SPropValue which are created within ema.
Created commit fccc58b in ema master (0.29.91+) Created commit 3fdaf4c in ema gnome-2-28 (0.28.3+)
*** Bug 564825 has been marked as a duplicate of this bug. ***