From 687b58aa8b1dfb5107a227bfb870b18bd457289eb300f30d0fce3fce390d97d3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 24 Sep 2022 09:12:49 +0000 Subject: [PATCH] Accepting request 1005733 from home:Andreas_Schwab:Factory - double-free.patch: Yet another fix for Node_elem_new OBS-URL: https://build.opensuse.org/request/show/1005733 OBS-URL: https://build.opensuse.org/package/show/Base:System/gawk?expand=0&rev=92 --- double-free.patch | 2 +- gawk.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/double-free.patch b/double-free.patch index 129bf82..92877f4 100644 --- a/double-free.patch +++ b/double-free.patch @@ -36,7 +36,7 @@ index 57d060e6..26010ada 100644 save_symbol->vname); + // set up local param by value + if (op != Op_push_arg_untyped) { -+ m = elem_new_to_scalar(m); ++ m = dupnode(Nnull_string); + } + PUSH(m); diff --git a/gawk.changes b/gawk.changes index efe33b7..39f9eb9 100644 --- a/gawk.changes +++ b/gawk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Sep 24 08:40:01 UTC 2022 - Andreas Schwab + +- double-free.patch: Yet another fix for Node_elem_new + ------------------------------------------------------------------- Tue Sep 20 07:45:49 UTC 2022 - Andreas Schwab