~ubuntu-branches/ubuntu/quantal/libssh/quantal-updates

« back to all changes in this revision

Viewing changes to libssh/socket.c

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2010-12-11 01:33:45 UTC
  • mfrom: (4.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20101211013345-ikpz4abendlkpvn6
Tags: 0.4.5-3
d/p/0002-socket-Fixed-uninitialized-fd-revents-member.patch:
Fix uninitialized memory use (Closes: #606347)

Show diffs side-by-side

added added

removed removed

Lines of Context:
484
484
 
485
485
  fd->fd = s->fd;
486
486
  fd->events = 0;
 
487
  fd->revents = 0;
487
488
 
488
489
  if (!s->data_to_read) {
489
490
    fd->events |= POLLIN;