Commit fac08837 by Edward Thomson

filter: return an int

Validate that the return value of the read is not less than INT_MAX,
then cast.
parent 89bd4ddb
......@@ -974,7 +974,7 @@ int git_filter_list_stream_file(
}
if (readlen < 0)
error = readlen;
error = -1;
done:
if (initialized)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment