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

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: andres(at)2ndquadrant(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Fix harmless access to uninitialized memory in ri_triggers.c.
Date: 2014-05-13 16:20:14
Message-ID: 5372463E.9060204@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 05/08/2014 07:33 PM, andres(at)2ndquadrant(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zhe-Wei Jiang 2014-05-13 17:12:10 Wanna help PostgreSQL
Previous Message Christoph Berg 2014-05-13 15:14:33 Re: New timezones used in regression tests