git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 540ac7c) | patch
Fix harmless access to uninitialized memory.
2014年5月13日 16:17:28 +0000 (19:17 +0300)
2014年5月13日 16:18:28 +0000 (19:18 +0300)
commit f35aef415aa755c4e99f8c0ef83f9d14dbc48bb4
Fix harmless access to uninitialized memory.

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
src/backend/utils/adt/ri_triggers.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /