Skip to content
Snippets Groups Projects
Commit 8bed40e0 authored by Matt Mackall's avatar Matt Mackall
Browse files

pathencode: grow buffers to increase safety margin

parent 9d88916f
No related branches found
No related tags found
No related merge requests found
......@@ -696,7 +696,7 @@
return 0;
}
#define MAXENCODE 4096 * 3
#define MAXENCODE 4096 * 4
static PyObject *hashencode(const char *src, Py_ssize_t len)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment