hello,

The attached patch add a sanity check on session->notify_ctx in the
IMAPISupport/Subscribe() function.

I think the check is useful, since while writing a libmapi-enabled
application, I got a core dump calling Subscribe().  The fault was
caused by the session->notify_ctx not being initialized: I forget to
call RegisterNotification(), but I suppose that in such situation
Subscribe() should fail without segfaulting the caller. Am I missing
something ?!?

The patch is against current (r1271) svn.

Cheer,

Paolo

Attachment: add_sanity_check.patch
Description: Binary data

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to