Skip to content
Snippets Groups Projects
Commit 5a60ea6e authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Only patch I looked at in 68990cd8 was wrong.

x points to the terminating NUL in x64.  free()ing it would do wild
and crazy things depending on how paranoid the free() implementation
is.

free(x64) instead... at least Coverity was happy though!
parent 4e9ff218
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1343 passed
......@@ -131,7 +131,7 @@ static int js_ecc_to_prop(unsigned char *data, size_t len, size_t *off, JSContex
memcpy(y, z, zcnt);
y64 = malloc(zcnt*4/3+3);
if (y64 == NULL) {
free(x);
free(x64);
free(y);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment