Skip to content

some compiler/asan/ubsan fixes

Jeff King git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3config: work around gcc-10 -Wstringop-overflow warningconfig.c+1 -12 replies
2/3revision: avoid out-of-bounds read/write on empty pathspecrevision.c+2 -52 replies
3/3revision: avoid leak when preparing bloom filter for "/"revision.c+1 -02 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchTaylor Blau
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] some compiler/asan/ubsan fixes

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