]> git.sesse.net Git - plocate/commit
Make the searcher ASan-clean.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Thu, 8 Oct 2020 20:41:41 +0000 (22:41 +0200)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Thu, 8 Oct 2020 20:41:41 +0000 (22:41 +0200)
commit896e1b19baed764eadb320c95c13726efba546d0
treeb21ad9c153cfe31c321e35b2c81b417c6290d0f5
parentc2a9d82ec4defdb13756a9306fe6cabca8727626
Make the searcher ASan-clean.

Allocate 16 bytes extra as slop after every read buffer, so that
we know we never read outside allocated memory. (This is much easier
now that we have a TurboPFor implementation with clearly defined slop.)
io_uring_engine.cpp
io_uring_engine.h
plocate.cpp