X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/766af058762b2c4e21b69f335adf77265fe9509a..5ce637f7a74d392ddafb1d38e3cefb744996b287:/src/src/store.c diff --git a/src/src/store.c b/src/src/store.c index d99d2ab69..03322a097 100644 --- a/src/src/store.c +++ b/src/src/store.c @@ -2,9 +2,10 @@ * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) The Exim maintainers 2019 - 2022 */ +/* Copyright (c) The Exim maintainers 2019 - 2023 */ /* Copyright (c) University of Cambridge 1995 - 2018 */ /* See the file NOTICE for conditions of use and distribution. */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* Exim gets and frees all its store through these functions. In the original implementation there was a lot of mallocing and freeing of small bits of store. @@ -1144,11 +1145,11 @@ Returns: pointer to gotten store (panic on failure) */ static void * -internal_store_malloc(size_t size, const char *func, int line) +internal_store_malloc(size_t size, const char * func, int line) { void * yield; -/* Check specifically for a possibly result of conversion from +/* Check specifically for a possible result of conversion from a negative int, to the (unsigned, wider) size_t */ if (size >= INT_MAX/2)