~yolanda.robla/ubuntu/saucy/clamav/dep-8-tests

« back to all changes in this revision

Viewing changes to libclamav/mspack.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2009-11-02 23:27:19 UTC
  • mfrom: (0.35.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091102232719-61ay35095dhbuxfm
Tags: 0.95.3+dfsg-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop build-dep on electric-fence (in Universe)
  - Build-dep on libltdl3-dev instead of libltdl-dev for updating earlier
    releases more easily
  - Add apparmor profiles for clamd and freshclam along with maintainer
    script changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
593
593
  if (!input_buffer_size) return NULL;
594
594
 
595
595
  /* allocate decompression state */
596
 
  if (!(zip = cli_malloc(sizeof(struct mszip_stream)))) {
 
596
  if (!(zip = cli_calloc(1, sizeof(struct mszip_stream)))) {
597
597
    return NULL;
598
598
  }
599
599
 
1738
1738
  if (input_buffer_size < 2) return NULL;
1739
1739
 
1740
1740
  /* allocate decompression state */
1741
 
  if (!(qtm = cli_malloc(sizeof(struct qtm_stream)))) {
 
1741
  if (!(qtm = cli_calloc(1, sizeof(struct qtm_stream)))) {
1742
1742
    return NULL;
1743
1743
  }
1744
1744