~ubuntu-branches/ubuntu/jaunty/clamav/jaunty-backports

« back to all changes in this revision

Viewing changes to libclamav/bytecode_vm.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-10-02 17:11:00 UTC
  • mfrom: (0.3.1 lucid-proposed)
  • Revision ID: james.westby@ubuntu.com-20101002171100-0erjjoucua6kw2pc
Tags: 0.96.3+dfsg-2ubuntu0.10.04.1~jaunty1
* Source backport for Jaunty
  - Change build-dep on libtdl-dev to libtdl7-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
    struct stack_entry *prev;
200
200
    const struct cli_bc_func *func;
201
201
    operand_t ret;
 
202
    unsigned bb_inst;
202
203
    struct cli_bc_bb *bb;
203
 
    unsigned bb_inst;
204
204
    char *values;
205
205
};
206
206
 
526
526
        sinfos = cli_realloc(infos->glob_infos, sizeof(*sinfos)*n);
527
527
        if (!sinfos)
528
528
            return 0;
 
529
        memset(sinfos + infos->nglobs, 0, (n - infos->nglobs)*sizeof(*sinfos));
529
530
        infos->glob_infos = sinfos;
530
531
        infos->nglobs = n;
531
532
    }