Re: [PATCH] Fix harmless access to uninitialized memory in ri_triggers.c. - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: [PATCH] Fix harmless access to uninitialized memory in ri_triggers.c.
Date
Msg-id 5372463E.9060204@vmware.com
Whole thread Raw
In response to [PATCH] Fix harmless access to uninitialized memory in ri_triggers.c.  (andres@2ndquadrant.com)
List pgsql-hackers
On 05/08/2014 07:33 PM, andres@2ndquadrant.com wrote:
> When cache invalidations arrive while ri_LoadConstraintInfo() is busy
> filling a new cache entry, InvalidateConstraintCacheCallBack()
> compares the - not yet initialized - oidHashValue field with the
> to-be-invalidated hash value. To fix check whether the entry is
> already marked as invalid.

Thanks, applied.

- Heikki



pgsql-hackers by date:

Previous
From: Christoph Berg
Date:
Subject: Re: New timezones used in regression tests
Next
From: Zhe-Wei Jiang
Date:
Subject: Wanna help PostgreSQL