Re: [Patch] timezone/zic.c: Fix file handle leak in dolink()

From: zengman <zengman(at)halodbtech(dot)com>
To: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [Patch] timezone/zic.c: Fix file handle leak in dolink()
Date: 2025-12-28 09:15:13
Message-ID: tencent_093F02C96360173630126629@qq.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Furthermore, I noticed that some of the test code in `contrib/pg_trgm/trgm_regexp.c` does not check the return value of the `fopen()` call.
I'm not sure if it's necessary to make the modification.

--
Regards,
Man Zeng
www.openhalo.org

Attachment Content-Type Size
pg_trgm-add-fopen-null-check.diff application/octet-stream 1.1 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Henson Choi 2025-12-28 09:47:21 Re: RFC: PostgreSQL Storage I/O Transformation Hooks
Previous Message zengman 2025-12-28 09:12:32 [Patch] timezone/zic.c: Fix file handle leak in dolink()