Show More
@@ -185,7 +185,7 b' static PyObject *parse_dirstate(PyObject' | |||||
185 | flen = getbe32(cur + 13); |
|
185 | flen = getbe32(cur + 13); | |
186 | pos += 17; |
|
186 | pos += 17; | |
187 | cur += 17; |
|
187 | cur += 17; | |
188 |
if (flen > len - pos |
|
188 | if (flen > len - pos) { | |
189 | PyErr_SetString(PyExc_ValueError, "overflow in dirstate"); |
|
189 | PyErr_SetString(PyExc_ValueError, "overflow in dirstate"); | |
190 | goto quit; |
|
190 | goto quit; | |
191 | } |
|
191 | } |
General Comments 0
You need to be logged in to leave comments.
Login now