Show More
@@ -127,11 +127,11 b' static int find_lines(lazymanifest *self' | |||
|
127 | 127 | if (!next) { |
|
128 | 128 | return MANIFEST_MALFORMED; |
|
129 | 129 | } |
|
130 |
if ((next - data) < |
|
|
131 |
/* We should have at least |
|
|
130 | if ((next - data) < 42) { | |
|
131 | /* We should have at least 42 bytes in a line: | |
|
132 | 132 | 1 byte filename |
|
133 | 133 | 1 NUL |
|
134 |
|
|
|
134 | 40 bytes of hash | |
|
135 | 135 | so we can give up here. |
|
136 | 136 | */ |
|
137 | 137 | return MANIFEST_TOO_SHORT_LINE; |
General Comments 0
You need to be logged in to leave comments.
Login now