[PATCH 0/3] some compiler/asan/ubsan fixes
- From
Jeff King <peff@peff.net>
- Date
- Aug 4, 2020, 07:41 UTC
- Message-ID
- <20200804074146.GA190027@coredump.intra.peff.net>
Here are fixes for a few problems I came across today while running "make SANITIZE=address,undefined test" on the tip of master.
[1/3]: config: work around gcc-10 -Wstringop-overflow warning [2/3]: revision: avoid out-of-bounds read/write on empty pathspec [3/3]: revision: avoid leak when preparing bloom filter for "/"
config.c | 2 +- revision.c | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-)
-Peff