folly::ConcurrentHashMapSIMD - fix use after free
Summary: The current order of retire and reclaim_nodes in clear() introduces a subtle bug which allows the hazptr library to destroy the Chunks array from reclaim_nodes, freeing the memory at chunks_, then continue reclaiming nodes which involves further access to chunks_.` Reviewed By: magedm Differential Revision: D14968860 fbshipit-source-id: 1bc8e543ae54c3d0e26affb1fd352c58cc5ce897
Showing
Please register or sign in to comment