pyc: inizialize 'error' before calling 'magic_int_within' (#3583)

This commit is contained in:
borzacchiello 2023-06-17 02:29:47 +02:00 committed by GitHub
parent 3f18c11609
commit 85f745e010
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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