Re: Looking for someone with MinGW - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Looking for someone with MinGW
Date
Msg-id 20233.1229483709@sss.pgh.pa.us
Whole thread Raw
In response to Re: Looking for someone with MinGW  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Responses Re: Looking for someone with MinGW  (Gregory Stark <stark@enterprisedb.com>)
Re: Looking for someone with MinGW  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> Hi, I found the cause.
> ...
> Actual error occurs in vfprintf() because act->name can be NULL.
> sprintf(..., "%s", NULL) could work on some platform (the result is '(null)'),
> but it crashes on Windows (msvcrt). We need to avoid passing NULLs as
> arguments to "%s" format for printf families.

Hmm, Windows is hardly the only platform where that would crash.
I'm surprised we don't have more buildfarm members complaining about
this.
        regards, tom lane


pgsql-hackers by date:

Previous
From: ITAGAKI Takahiro
Date:
Subject: Re: Looking for someone with MinGW
Next
From: Gregory Stark
Date:
Subject: Re: Looking for someone with MinGW