Fix sanitizer issues in pg_rewind

Fixed memory leak in the JSON parser and added suppressions for pg_rewind
pull/238/head
Andrew Pogrebnoy 1 month ago committed by Andrew Pogrebnoi
parent 3a4db71299
commit 11fa1e393e
  1. 4
      ci_scripts/suppressions/lsan.supp
  2. 1
      contrib/pg_tde/src/catalog/tde_keyring_parse_opts.c

@ -51,3 +51,7 @@ leak:bin/pg_waldump/pg_waldump.c
#pg_dump
leak:getSchemaData
leak:dumpDumpableObject
#pg_rewind
leak:decide_file_actions
leak:GenerateRecoveryConfig

@ -264,6 +264,7 @@ json_kring_object_field_start(void *state, char *fname, bool isnull)
break;
}
pfree(fname);
return JSON_SUCCESS;
}

Loading…
Cancel
Save