Hi A smaller version removing memset in print_aligned_text function. The line is redundant , header_done isn't used yet and it's either pg_malloc0 or null.
Without this patch make check fails 3 tests if pg is compiled with -fsanitize=address,undefined
diff --git a/src/fe_utils/print.c b/src/fe_utils/print.c index cb9a9a0613..b13167859c 100644 --- a/src/fe_utils/print.c +++ b/src/fe_utils/print.c @@ -913,7 +913,6 @@ print_aligned_text(const printTableContent *cont, FILE *fout, bool is_pager) more_col_wrapping = col_count; curr_nl_line = 0; - memset(header_done, false, col_count * sizeof(bool)); while (more_col_wrapping) { if (opt_border == 2)