]> granicus.if.org Git - postgresql/commit
Avoid access to uninitialized memory in shared tidbitmap iteration.
authorRobert Haas <rhaas@postgresql.org>
Thu, 16 Mar 2017 19:07:26 +0000 (15:07 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 16 Mar 2017 19:09:46 +0000 (15:09 -0400)
commit80824ddda30154d56c9f40fe47dd1900d44ced32
treeebd634591ff9a76e3077c7e2cb6a9c882fcb867e
parentbefd73c50f11a6c6a6719dae20f0de7b7585bef4
Avoid access to uninitialized memory in shared tidbitmap iteration.

Primarily, this didn't work correctly when the tidbitmap ended up
empty.

Dilip Kumar, per a report from Emre Hasegeli

Discussion: http://postgr.es/m/CAFiTN-ujHFKb8WSLhK54rfqQT3r2yiPQOyeBrCDsA4p9Fwp_jw@mail.gmail.com
src/backend/nodes/tidbitmap.c