Re: [HACKERS] [PATCH] Fix harmless access to uninitialized memory in ri_triggers.c.

2014-05-13 Thread Heikki Linnakangas
On 05/08/2014 07:33 PM, and...@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 wh

[HACKERS] [PATCH] Fix harmless access to uninitialized memory in ri_triggers.c.

2014-05-08 Thread andres
From: Andres Freund 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