~ubuntu-branches/ubuntu/maverick/clamav/maverick-proposed

« back to all changes in this revision

Viewing changes to libclamav/mspack.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-17 12:30:20 UTC
  • mfrom: (0.35.17 sid)
  • Revision ID: james.westby@ubuntu.com-20101217123020-dbtsp3upnaxsgg89
Tags: 0.96.5+dfsg-1ubuntu1.10.10.1
* Microversion update for Maverick (LP: #691414)
  - Improved database login times
  - Expanded use of new bytecode signatures
  - Other bugfixes/improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
1610
1610
      return qtm->error = CL_EFORMAT;
1611
1611
  }
1612
1612
 
 
1613
  if (nread == 0) {
 
1614
    if (qtm->input_end) {
 
1615
      cli_dbgmsg("qtm_read_input: out of input bytes\n");
 
1616
      return qtm->error = CL_EREAD;
 
1617
    }
 
1618
    else {
 
1619
      nread = 2;
 
1620
      qtm->inbuf[0] = qtm->inbuf[1] = 0;
 
1621
      qtm->input_end = 1;
 
1622
    }
 
1623
  }
 
1624
 
1613
1625
  qtm->i_ptr = &qtm->inbuf[0];
1614
1626
  qtm->i_end = &qtm->inbuf[nread];
1615
1627
  return CL_SUCCESS;