GNOME Bugzilla – Bug 369261
GPG I/O code passes uninitialized data to poll()
Last modified: 2006-11-02 16:22:53 UTC
There's code in camel-gpg-context.c that passes uninitialized data to poll() through its event structure. Since the associated fds are set to -1, this is likely just a theoretical problem, but valgrind complains about it and it may cause unpredictable platform-specific outcomes. Attaching a patch.
Created attachment 75818 [details] [review] Fix for uninitialized poll event structures.
HPJ: Thanks for the patch and please go ahead and commit it to 2.14, 2.16 and HEAD branches.
Committed to 2.14, 2.16 and HEAD.