|
Ran
|
Jobs
1
|
Files
476
|
Run time
3min
|
Badge
README BADGES
|
push
github
box: fix memory leak on error_unpack_unsafe() failure Memory is leaked in the following scenario: - MP_ERROR_STACK with 2 errors is passed to error_unpack_unsafe(): 1. A correct MP_MAP with MP_ERROR_* fields; 2. Something unexpected, e.g. MP_INT; - This first call to mp_decode_error_one() allocates memory for the first error in error_build_xc() -> `new ClientError()`; - The second call to mp_decode_error_one() returns NULL, and error_unpack_unsafe() returns NULL too. Memory from the previous step is leaked. Closes #8921 NO_DOC=bugfix (cherry picked from commit b367fb987)
62376 of 114202 branches covered (0.0%)
8 of 8 new or added lines in 1 file covered. (100.0%)
93353 of 108721 relevant lines covered (85.86%)
2611276.91 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 5964532414.1 | 0 |
85.86 |
GitHub Action Run |