]> git.ipfire.org Git - thirdparty/git.git/blobdiff - upload-pack.c
Merge branch 'jk/upload-pack-bounded-resources'
[thirdparty/git.git] / upload-pack.c
index 761af4a53288010433afa3d468a255d6ce0c9363..281bdf85c936d5d4a5e6615ee624359b137fe730 100644 (file)
@@ -461,7 +461,7 @@ static void create_pack_file(struct upload_pack_data *pack_data,
 
  fail:
        free(output_state);
-       send_client_data(3, abort_msg, sizeof(abort_msg),
+       send_client_data(3, abort_msg, strlen(abort_msg),
                         pack_data->use_sideband);
        die("git upload-pack: %s", abort_msg);
 }