[raster] Reduce buffer size cap

Lower HB_RASTER_MAX_BUFFER_SIZE from 1<<30 to 1<<24 so the shared
raster image / clip-mask limit meaningfully constrains pathological
fuzzer inputs instead of allowing timeout-scale temporary buffers.

Assisted-by: OpenAI Codex
This commit is contained in:
Behdad Esfahbod committed 2026-03-10 11:40:02 -03:00
1 parent a0714506d6
commit 331ef99cd8
1 file changed
+1 -1
+1 -1
View File
@@ -113,7 +113,7 @@
#endif
#ifndef HB_RASTER_MAX_BUFFER_SIZE
#define HB_RASTER_MAX_BUFFER_SIZE ((size_t) 1 << 30)
#define HB_RASTER_MAX_BUFFER_SIZE ((size_t) 1 << 24)
#endif