jscript: Return ParseProcedureText when compile fails.
commitd93712feee25bfe989b5dabcd25759e713a8580a
authorSantino Mazza <mazzasantino1206@gmail.com>
Tue, 19 Jul 2022 23:49:00 +0000 (19 20:49 -0300)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 20 Jul 2022 20:33:44 +0000 (20 22:33 +0200)
tree42244f03555226495a9b1ec88c4b0c0086c4f1e4
parenta0cac2e0d83828a13ea2fcc3860d9ff628cce586
jscript: Return ParseProcedureText when compile fails.

This prevents crashes when there is an invalid script
inside a tag property.

Because ParseProcedureText calls release_bytecode without
checking if compile_script failed, "code" is not set, and
this leads to a crash when release_bytecode tries to access it.

Signed-off-by: Santino Mazza <mazzasantino1206@gmail.com>
dlls/jscript/jscript.c