From 4fc18de5f9ae6c81c7662f4f2b1baa26d1eb1a2b Mon Sep 17 00:00:00 2001 From: Ingvar Stepanyan Date: Thu, 14 May 2020 16:32:24 +0100 Subject: [PATCH] Fix use-after-free in imagequant --- src/codecs/imagequant/processor.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/codecs/imagequant/processor.ts b/src/codecs/imagequant/processor.ts index be6f4da2..a8b9ae3b 100644 --- a/src/codecs/imagequant/processor.ts +++ b/src/codecs/imagequant/processor.ts @@ -15,7 +15,9 @@ export async function process(data: ImageData, opts: QuantizeOptions): Promise