From 2921a2e34a1c2d6776bc9b64f6c32d43b453b629 Mon Sep 17 00:00:00 2001 From: Simon Warta <2603011+webmaster128@users.noreply.github.com> Date: Thu, 22 Aug 2024 09:50:22 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Christoph Otter --- CWAs/CWA-2023-004.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CWAs/CWA-2023-004.md b/CWAs/CWA-2023-004.md index 9826d90..d0fbc0d 100644 --- a/CWAs/CWA-2023-004.md +++ b/CWAs/CWA-2023-004.md @@ -45,9 +45,9 @@ This is demonstrated in the following example where you see ) ``` -This is harmless in Wasm bytecode, but once the function is compiled, signature are inlined multiple times +This is harmless in Wasm bytecode, but once the function is compiled, signatures are inlined multiple times in the compiled code. -Using a large signature that is referenced by a large number of function, +Using a large signature that is referenced by a large number of functions, you get pretty much a compression bomb – small in the uploaded Wasm blob but huge after compilation. This can lead to modules of several hundreds of megabytes or even gigabytes, leading to unexpected cache behaviour, unexpected disk