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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 660d5fb) | patch
Fix possible NULL dereference in ExecAlterObjectDependsStmt
2016年4月10日 14:03:35 +0000 (11:03 -0300)
2016年4月10日 14:03:35 +0000 (11:03 -0300)
commit bd905a0d0416628b4aef153463c1f5e5b80b3e96
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
src/backend/commands/alter.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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