forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf35aef4
committed
Fix harmless access to uninitialized memory.
When cache invalidations arrive while ri_LoadConstraintInfo() is busyfilling a new cache entry, InvalidateConstraintCacheCallBack() comparesthe - not yet initialized - oidHashValue field with the to-be-invalidatedhash value. To fix, check whether the entry is already marked as invalid.Andres Freund1 parent540ac7c commitf35aef4
1 file changed
+2
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2934 | 2934 |
| |
2935 | 2935 |
| |
2936 | 2936 |
| |
2937 |
| - | |
| 2937 | + | |
| 2938 | + | |
2938 | 2939 |
| |
2939 | 2940 |
| |
2940 | 2941 |
| |
|
0 commit comments
Comments
(0)