Re: [Libevent-users] [PATCH] Fix problems in evport.c

2007-09-15 Thread Nick Mathewson
On Wed, Sep 12, 2007 at 10:23:52AM +0200, Trond Norbye wrote: This patch fix two problems with evport.c on Solaris: 1. The grow-function reallocates the ed_fds array, but ed_pending array may contain pointers to the elements in the ed_fds array. These pointers must be relocated to avoid

[Libevent-users] [PATCH] Fix problems in evport.c

2007-09-12 Thread Trond Norbye
This patch fix two problems with evport.c on Solaris: 1. The grow-function reallocates the ed_fds array, but ed_pending array may contain pointers to the elements in the ed_fds array. These pointers must be relocated to avoid using freed memory. 2. evport_dispatch does not handle a