mbox series

[0/3] some compiler/asan/ubsan fixes

Message ID 20200804074146.GA190027@coredump.intra.peff.net (mailing list archive)
Headers show
Series some compiler/asan/ubsan fixes | expand

Message

Jeff King Aug. 4, 2020, 7:41 a.m. UTC
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