From d8d1a5ad902b58ed9b506d1bc65416e6b5f805db Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Fri, 19 Aug 2011 10:12:15 -0700 Subject: [PATCH] win64-except.c: Fix incorrect dereference. Reported by: Pierre Muller [#236 state:resolved] --- modules/objfmts/coff/win64-except.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/objfmts/coff/win64-except.c b/modules/objfmts/coff/win64-except.c index 32ef919a..71d6228b 100644 --- a/modules/objfmts/coff/win64-except.c +++ b/modules/objfmts/coff/win64-except.c @@ -296,7 +296,7 @@ win64_uwinfo_bc_tobytes(yasm_bytecode *bc, unsigned char **bufp, YASM_WRITE_8(buf, 1); /* Size of prolog */ - output_value(&info->prolog_size, buf, 1, (unsigned long)(buf-*bufstart), + output_value(&info->prolog_size, buf, 1, (unsigned long)(buf-bufstart), bc, 1, d); buf += 1; -- 2.40.0