[PATCHES] strdup = xstrdup patche

2003-09-16 Thread Mendola Gaetano
Hi, I think that I cover know all strdup not checked on the tree backend. I'm going to investigate now for malloc unchecked. Regards Gaetano Mendola psql.patch Description: Binary data ---(end of broadcast)--- TIP 6: Have you searched our list

Re: [PATCHES] strdup = xstrdup patche

2003-09-16 Thread Mendola Gaetano
Mendola Gaetano [EMAIL PROTECTED] wrote: Hi, I think that I cover know all strdup not checked on the tree backend. Of course I forgot to remove the null pointer check inside the xstrdup, please use this patch instead. Regards Gaetano Mendola psql.patch Description: Binary data

[PATCHES] mcxt.c

2003-09-07 Thread Mendola Gaetano
A test for null string is missing here: *** pgsql/src/backend/utils/mmgr/mcxt.c 2003-09-02 13:30:05.0 +0200 --- pgsql.old/src/backend/utils/mmgr/mcxt.c 2003-08-04 04:40:08.0 +0200 *** char * *** 620,632 MemoryContextStrdup(MemoryContext context, const char