From 3b36c59160d9fd64db9c5733c35cba98fa160ec2 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 15 Dec 2004 05:53:19 +0000 Subject: [PATCH] Comment. --- src/threads/malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/threads/malloc.c b/src/threads/malloc.c index 0cb5f9d..8e6b459 100644 --- a/src/threads/malloc.c +++ b/src/threads/malloc.c @@ -161,7 +161,7 @@ calloc (size_t a, size_t b) void *p; size_t size; - /* Calculate block size. */ + /* Calculate block size and make sure it fits in size_t. */ size = a * b; if (size < a || size < b) return NULL; -- 2.30.2