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
This commit is contained in:
Dirk Mueller 2022-09-24 09:12:49 +00:00 committed by Git OBS Bridge
parent d059de2dbc
commit 687b58aa8b
2 changed files with 6 additions and 1 deletions

View File

@ -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);

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Sep 24 08:40:01 UTC 2022 - Andreas Schwab <schwab@suse.de>
- double-free.patch: Yet another fix for Node_elem_new
-------------------------------------------------------------------
Tue Sep 20 07:45:49 UTC 2022 - Andreas Schwab <schwab@suse.de>