]> granicus.if.org Git - postgresql/commit
Fix NULL pointer dereference in tuplesort.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 16 Jan 2017 18:53:40 +0000 (13:53 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 16 Jan 2017 18:53:40 +0000 (13:53 -0500)
commit4e46c97fde42fa8ca57d29b9b47f2ebd11ab8105
tree5b25209548ef01ef33f0a3dc5c274f8097ccaa0e
parentfcf708623e860b7a1efef11a5d5661900307b6fc
Fix NULL pointer dereference in tuplesort.c.

Oversight in commit e94568ecc.  This could cause a crash when an external
datum tuplesort of a pass-by-value type required multiple passes.
Per report from Mithun Cy.

Peter Geoghegan

Discussion: https://postgr.es/m/CAD__OujuhfWFULGFSt1fyHqUb8N-XafjJhudwt88V0Qs2o84qg@mail.gmail.com
src/backend/utils/sort/tuplesort.c