From e836fb44de9336f2f357c95dce1dcdd8dabe2fd2 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Sat, 7 May 2022 17:11:11 +0200 Subject: [PATCH] limine: Only acknowledge stack size req if new stack > default --- common/protos/limine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/protos/limine.c b/common/protos/limine.c index 8056f907..e0c51a43 100644 --- a/common/protos/limine.c +++ b/common/protos/limine.c @@ -383,7 +383,7 @@ FEAT_START struct limine_stack_size_response *stack_size_response = ext_mem_alloc(sizeof(struct limine_stack_size_response)); - if (stack_size_request->stack_size != 0) { + if (stack_size_request->stack_size > stack_size) { stack_size = stack_size_request->stack_size; }