Fix NULL pointer dereference in tuplesort.c.
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/sort/tuplesort.c | modified | +2 −1 |
Discussion
- Tuple sort is broken. It crashes on simple test. 7 messages · 2017-01-16