We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1585dfe + 0b868f0 commit 4f5a427Copy full SHA for 4f5a427
hex.c
@@ -59,7 +59,7 @@ int get_sha1_hex(const char *hex, unsigned char *sha1)
59
char *sha1_to_hex(const unsigned char *sha1)
60
{
61
static int bufno;
62
- static char hexbuffer[4][50];
+ static char hexbuffer[4][41];
63
static const char hex[] = "0123456789abcdef";
64
char *buffer = hexbuffer[3 & ++bufno], *buf = buffer;
65
int i;
0 commit comments