Return to monitor.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.19, 2002/06/26 14:49:36 | version 1.20, 2002/06/27 09:08:00 | ||
---|---|---|---|
|
|
||
int len = size * ncount; | int len = size * ncount; | ||
void *address; | void *address; | ||
if (len <= 0) | if (len <= 0 || size > 65535 || ncount > 65535) | ||
fatal("%s: mm_zalloc(%u, %u)", __func__, ncount, size); | fatal("%s: mm_zalloc(%u, %u)", __func__, ncount, size); | ||
address = mm_malloc(mm, len); | address = mm_malloc(mm, len); |