From 85f745e010fc968d7c1fff61c4bd8f95d440496a Mon Sep 17 00:00:00 2001 From: borzacchiello Date: Sat, 17 Jun 2023 02:29:47 +0200 Subject: [PATCH] pyc: inizialize 'error' before calling 'magic_int_within' (#3583) --- librz/bin/p/bin_pyc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librz/bin/p/bin_pyc.c b/librz/bin/p/bin_pyc.c index e110669a45..4433453b60 100644 --- a/librz/bin/p/bin_pyc.c +++ b/librz/bin/p/bin_pyc.c @@ -98,7 +98,7 @@ static RzBinInfo *info(RzBinFile *arch) { return NULL; } - bool error; + bool error = false; bool is_before_py_36 = magic_int_within(ctx->version.magic, 0x9494, 0x0d16, &error); if (error) { return NULL;