)]}'
{
  "commit": "64bf8c50a327217c5f56ba6a4d19ba98b1a07788",
  "tree": "9c4e702f55e12df8ed0f39c12b990eba6e06d8eb",
  "parents": [
    "28883d4d817a6c5ee3806cd9c1ebf9dc7ed51977"
  ],
  "author": {
    "name": "David Benjamin",
    "email": "davidben@google.com",
    "time": "Fri Jul 22 15:49:45 2022 -0700"
  },
  "committer": {
    "name": "Boringssl LUCI CQ",
    "email": "boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Jul 25 15:49:28 2022 +0000"
  },
  "message": "Fix an edge case in SSL_write\u0027s retry mechanism.\n\nThis is split out from\nhttps://boringssl-review.googlesource.com/c/boringssl/+/47544 just to\nget the bugfixes and tests out of the way of the refactor.\n\nIf we trip the SSL_R_BAD_LENGTH check in tls_write_app_data, wnum is set\nto zero. But wnum should only be cleared on a successful write. It\ntracks the number of input bytes that have been written to the transport\nbut not yet reported to the caller. Instead, move it to the success\nreturn in that function. All the other error paths already set it to\nsomething else.\n\nChange-Id: Ib22f9cf04454ecdb0062077f183be5070ab7d791\nReviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/53545\nReviewed-by: Bob Beck \u003cbbe@google.com\u003e\nCommit-Queue: Bob Beck \u003cbbe@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "450f7dc0b028a6268697d34e82d3f880e365cef5",
      "old_mode": 33188,
      "old_path": "ssl/s3_pkt.cc",
      "new_id": "bc3e99adec9013d9800129d503b93a88e8e2a998",
      "new_mode": 33188,
      "new_path": "ssl/s3_pkt.cc"
    },
    {
      "type": "modify",
      "old_id": "6bc015cb15c82b0f53aae18a3b9884668e9ba962",
      "old_mode": 33188,
      "old_path": "ssl/ssl_test.cc",
      "new_id": "0811cb4ee9c56f629a6b00c525329985c37880d0",
      "new_mode": 33188,
      "new_path": "ssl/ssl_test.cc"
    }
  ]
}
