hnswlib icon indicating copy to clipboard operation
hnswlib copied to clipboard

Fix heap buffer overflow caused by prefetch.

Open kishorenc opened this issue 1 year ago • 4 comments

The prefetching goes past size since datal is initialized 1 index past data.

I uncovered this issue on ASAN when SSE is enabled. Also spotted earlier here: https://github.com/nmslib/hnswlib/issues/107

cc @dyashuni

kishorenc avatar May 05 '23 13:05 kishorenc