strdup => xstrdup patche

Started by Gaetano Mendolaalmost 23 years ago3 messagespatches
Jump to latest
#1Gaetano Mendola
mendola@bigfoot.com

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

Attachments:

psql.patchapplication/octet-stream; name=psql.patchDownload+72-44
#2Gaetano Mendola
mendola@bigfoot.com
In reply to: Gaetano Mendola (#1)
Re: strdup => xstrdup patche

""Mendola Gaetano"" <mendola@bigfoot.com> 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

Attachments:

psql.patchapplication/octet-stream; name=psql.patchDownload+68-44
#3Bruce Momjian
bruce@momjian.us
In reply to: Gaetano Mendola (#2)
Re: strdup => xstrdup patche

This has been saved for the 7.5 release:

http:/momjian.postgresql.org/cgi-bin/pgpatches2

---------------------------------------------------------------------------

Mendola Gaetano wrote:

""Mendola Gaetano"" <mendola@bigfoot.com> 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

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073