irods / irods_client_globus_connector

The iRODS Globus Connector
2 stars 4 forks source link

fix invalid range return on write errors #29

Closed michaellink closed 3 years ago

michaellink commented 3 years ago

bytes_written was a globus_size_t, which is unsigned. this led to calling globus_gridftp_server_update_bytes_written() with a huge length if rcDataObjWrite() returned error. the code continues to return error on a short write, which may be an unnecessary failure.