From 2b3c39d18c4c751d36a0904f00efbf015fda7d4b Mon Sep 17 00:00:00 2001 From: CSDUMMI Date: Sat, 10 May 2025 18:42:55 +0200 Subject: Fix buffer overflow error by only supplying st_size to fread once --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0a580f0..87cc77e 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,9 @@ # SPDX-License-Identifier: GPL-3.0 wai: wai.c - gcc -Wall -Wextra -o wai wai.c + gcc -ggdb -Wall -Wextra -o wai wai.c # tests/factorial.wasm: tests/factorial.wat .PHONY: tests tests: wat2wasm -o tests/factorial.wasm tests/factorial.wat - -- cgit v1.2.3