From 6f96368d8620345a98e148436b96f4262ca73972 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 7 Jul 2022 11:37:52 +0200 Subject: Use malloc by default but allow bounded alloca MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- common.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'common.h') diff --git a/common.h b/common.h index ad3be05..864082c 100644 --- a/common.h +++ b/common.h @@ -4,11 +4,17 @@ #include #include #include +#include #include #include #include +#ifndef ALLOCA_LIMIT +# define ALLOCA_LIMIT 0 +#endif + + /** * Process a chunk using SHA-1 or SHA-0 * -- cgit v1.2.3-70-g09d2