mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
[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:
1 parent
a0714506d6
commit
331ef99cd8
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user