diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2016-04-10 11:03:35 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2016-04-10 11:03:35 -0300 |
commit | bd905a0d0416628b4aef153463c1f5e5b80b3e96 (patch) | |
tree | 1cbc6be00e27cf8fa254b2b93b2201e69e56ac3b /src/backend/storage/buffer/localbuf.c | |
parent | 660d5fb856c61df2de2cedb26249404ffc58cb89 (diff) | |
download | postgresql-bd905a0d0416628b4aef153463c1f5e5b80b3e96.tar.gz postgresql-bd905a0d0416628b4aef153463c1f5e5b80b3e96.zip |
Fix possible NULL dereference in ExecAlterObjectDependsStmt
I used the wrong variable here. Doesn't make a difference today because
the only plausible caller passes a non-NULL variable, but someday it
will be wrong, and even today's correctness is subtle: the caller that
does pass a NULL is never invoked because of object type constraints.
Surely not a condition to rely on.
Noted by Coverity
Diffstat (limited to 'src/backend/storage/buffer/localbuf.c')
0 files changed, 0 insertions, 0 deletions