Re: [PATCH] dynahash: add memory allocation failure check - Mailing list pgsql-hackers

From [email protected]
Subject Re: [PATCH] dynahash: add memory allocation failure check
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: [PATCH] dynahash: add memory allocation failure check  (Andrey Borodin <[email protected]>)
List pgsql-hackers
Andrey Borodin wrote 2025-04-23 12:46:
> It seems there are a lot of cases of MCXT_ALLOC_NO_OOM, perhaps should 
> we check them all?
Yep, I think we should.
I found this issue with the Svace static analyzer, and it might have 
missed other issues.
Perhaps a more comprehensive investigation is needed here.
---
Best regards, Maksim Korotkov



pgsql-hackers by date:

Previous
From: Andrei Lepikhov
Date:
Subject: Startup subpaths in MergeAppend path
Next
From: Aleksander Alekseev
Date:
Subject: Re: [PATCH] dynahash: add memory allocation failure check