git transport: only write INT_MAX bytes
The transport code returns an `int` with the number of bytes written; thus only attempt to write at most `INT_MAX`.
Showing
Please
register
or
sign in
to comment
The transport code returns an `int` with the number of bytes written; thus only attempt to write at most `INT_MAX`.