Skip to content

Commit

Permalink
Initialize last_with_datap correctly in evbuffer_overlapped
Browse files Browse the repository at this point in the history
Fixes bug 2985406
  • Loading branch information
nmathewson committed Apr 14, 2010
1 parent 3cbca86 commit a0983b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buffer_iocp.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ evbuffer_overlapped_new(evutil_socket_t fd)

TAILQ_INIT(&evo->buffer.callbacks);
evo->buffer.refcnt = 1;
evo->buffer.last_with_datap = &evo->buffer.first;

evo->buffer.is_overlapped = 1;
evo->fd = fd;
Expand Down

0 comments on commit a0983b6

Please sign in to comment.