diff options
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1642,7 +1642,11 @@ const struct method *proto; /* protocol method table */ */ if (proto->getsizes) { + int i; + msgsizes = (int *)alloca(sizeof(int) * count); + for (i = 0; i < count; i++) + msgsizes[i] = -1; ok = (proto->getsizes)(sock, count, msgsizes); if (ok != 0) |