From 98a89ce0eafa488c5ebbe963a8a601cac6739e87 Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Wed, 11 Mar 2026 15:55:01 +1100 Subject: fix(bmp): Fail BITMAP header parsing if header is not correct size --- include/tinyff/result.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/tinyff/result.h') diff --git a/include/tinyff/result.h b/include/tinyff/result.h index 43bcf98..b2bf31c 100644 --- a/include/tinyff/result.h +++ b/include/tinyff/result.h @@ -27,6 +27,9 @@ typedef enum { // PNG FF_RESULT_ERROR_INVALID_PNG_SIGNATURE, + + // BMP + FF_RESULT_ERROR_INVALID_BMP_HEADER, // Archive (more general archives terms) FF_RESULT_ERROR_DECOMPRESSION_FAILURE, -- cgit v1.2.3