14 Aug
2023
14 Aug
'23
5:42 p.m.
Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/hlsl.y:
YYABORT; } } + | STRING + { + struct hlsl_ir_node *c; + if (!(c = hlsl_new_string_constant(ctx, &@1))) + YYABORT; + if (!($$ = make_block(ctx, c))) + { + hlsl_free_instr(c); + YYABORT; + } + }
This leaks $1. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/305#note_42194