diff options
author | Taylor Blau <me@ttaylorr.com> | 2023-03-20 16:02:52 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-03-20 14:40:13 -0700 |
commit | e535db7c6983bdd16754b9a3b5cda5f41fd0e19a (patch) | |
tree | 019e23f97e83d4064b68104bfe1a591da24bb699 /gitweb | |
parent | 0e2a13eb16f3d2049cc26b245d374697d5f132f5 (diff) | |
download | git-e535db7c6983bdd16754b9a3b5cda5f41fd0e19a.tar.gz |
pack-bitmap.c: use `bitmap_index_seek()` where possible
As described in the previous commit, now that we have a functional
`bitmap_index_seek()`, rewrite all callers that manually manipulate the
`map_pos` variable with calls to `bitmap_index_seek()`.
This means that all callers that adjust the value of `map_pos` have
those changes automatically bounds- and overflow-checked.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb')
0 files changed, 0 insertions, 0 deletions