Branch: Tag:

2014-11-03

2014-11-03 10:12:25 by Martin Nilsson <nilsson@opera.com>

malloc -> calloc

1576: Inside #if defined(HAVE_EXECVE)
   INT32 e, i = 0;    struct keypair *k;    -  env=malloc((1+m_sizeof(en)) * sizeof(char *)); +  env=calloc(1+m_sizeof(en), sizeof(char *));    if(!env) {    free(argv);    SIMPLE_OUT_OF_MEMORY_ERROR("exece", (1+m_sizeof(en)*sizeof(char *)));