• Heikki Linnakangas's avatar
    Fix harmless access to uninitialized memory. · f35aef41
    Heikki Linnakangas authored
    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.
    
    Andres Freund
    f35aef41
ri_triggers.c 100 KB