Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
pack-bitmap-write: use GIT_MAX_RAWSZ for allocation
author
brian m. carlson
<sandals@crustytoothpaste.net>
Mon, 15 Oct 2018 00:01:49 +0000
(
00:01
+0000)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 15 Oct 2018 03:53:15 +0000
(12:53 +0900)
Reviewed-by: Stefan Beller <sbeller@google.com>
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack-bitmap-write.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
6afedba
)
diff --git
a/pack-bitmap-write.c
b/pack-bitmap-write.c
index fc82f37a02772244ee93aee41bef9238075c07ba..6f0c78d6aaefcc678713eab95bb127cb7b76dff3 100644
(file)
--- a/
pack-bitmap-write.c
+++ b/
pack-bitmap-write.c
@@
-37,7
+37,7
@@
struct bitmap_writer {
struct progress *progress;
int show_progress;
- unsigned char pack_checksum[
20
];
+ unsigned char pack_checksum[
GIT_MAX_RAWSZ
];
};
static struct bitmap_writer writer;