##// END OF EJS Templates
pathencode: grow buffers to increase safety margin
Matt Mackall -
r19185:8bed40e0 stable
parent child Browse files
Show More
@@ -696,7 +696,7 b' static int sha1hash(char hash[20], const'
696 return 0;
696 return 0;
697 }
697 }
698
698
699 #define MAXENCODE 4096 * 3
699 #define MAXENCODE 4096 * 4
700
700
701 static PyObject *hashencode(const char *src, Py_ssize_t len)
701 static PyObject *hashencode(const char *src, Py_ssize_t len)
702 {
702 {
General Comments 0
You need to be logged in to leave comments. Login now