diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-30 15:01:04 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-30 15:01:04 +0000 |
commit | 8a6f9f2bd1f2c2a11f28fcb7a5e0642687863e72 (patch) | |
tree | 3dc4eef85d413ddafccf26470ad11a0bef40bc38 /driver.c | |
parent | d8fbd8802153a1739ff0442d151deedd3b2670c9 (diff) | |
download | fetchmail-8a6f9f2bd1f2c2a11f28fcb7a5e0642687863e72.tar.gz fetchmail-8a6f9f2bd1f2c2a11f28fcb7a5e0642687863e72.tar.bz2 fetchmail-8a6f9f2bd1f2c2a11f28fcb7a5e0642687863e72.zip |
Fix fatal alloca bug.
svn path=/trunk/; revision=436
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -606,7 +606,7 @@ struct query *ctl; /* query control record */ */ for (idp = xmit_names; idp; idp = idp->next) nlocals++; - sp = sargv = (char **)alloca(ctl->mda_argcount+nlocals+2); + sp = sargv = (char **)alloca(sizeof(char **) * ctl->mda_argcount+nlocals+2); for (i = 0; i < ctl->mda_argcount; i++) *sp++ = ctl->mda_argv[i]; for (idp = xmit_names; idp; idp = idp->next) |