Re: [PATCH] Fix NULL checking in check_TSCurrentConfig() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] Fix NULL checking in check_TSCurrentConfig()
Date
Msg-id 6109.1358739345@sss.pgh.pa.us
Whole thread Raw
In response to [PATCH] Fix NULL checking in check_TSCurrentConfig()  (Xi Wang <xi.wang@gmail.com>)
Responses Re: [PATCH] Fix NULL checking in check_TSCurrentConfig()
List pgsql-hackers
Xi Wang <xi.wang@gmail.com> writes:
> The correct NULL check should use `*newval'; `newval' must be non-null.

Great catch, will commit.  (But first I'm looking through commit
2594cf0e to see if I made the same mistake anywhere else :-(.)

How did you find that, coverity or some such tool?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Fix NULL checking in check_TSCurrentConfig()
Next
From: Craig Ringer
Date:
Subject: Re: [WIP] pg_ping utility