]> granicus.if.org Git - postgresql/commit
Fix silly nil-pointer-dereference bug introduced in commit d5f6f13f8.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 6 Nov 2016 16:29:40 +0000 (11:29 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 6 Nov 2016 16:29:40 +0000 (11:29 -0500)
commit5485c99e7f507b2849ac675e9c10f34551f645b6
tree90f2bb5f36e74d7b9bf2d8f3e737412f0590166b
parent32416b0f9a8502e7dff8afbf78e494c091b045e8
Fix silly nil-pointer-dereference bug introduced in commit d5f6f13f8.

Don't fetch record->xl_info before we've verified that record isn't
NULL.  Per Coverity.

Michael Paquier
src/backend/access/transam/xlog.c