df7cb / pg_filedump

pg_filedump provides facilities for low-level examination of PostgreSQL tables and indexes
43 stars 18 forks source link

Bugfixes #14

Closed Green-Chan closed 1 year ago

Green-Chan commented 1 year ago

Fixing the following bugs:

  1. Dynamically allocated decompress_tmp_buff is not freed when returning function on error.
  2. fclose(toast_rel_fp) might be called when toast_rel_fp is NULL, which is an undefined behavior.