From e35f83fc36ae8288e3c65199dfa9e912d0276a59 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 10:24:40 +0000 Subject: [PATCH 1/2] Bump github/codeql-action from 4.35.1 to 4.36.0 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.1 to 4.36.0. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/c10b8064de6f491fea524254123dbe5e09572f13...7211b7c8077ea37d8641b6271f6a365a22a5fbfa) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 4.36.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/codeql.yml | 8 ++++---- .github/workflows/scorecard.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index bbe66a3..d64f481 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -44,7 +44,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1 + uses: github/codeql-action/init@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4.36.0 with: languages: ${{ matrix.language }} # CodeQL is currently crashing on files with large lists: @@ -56,7 +56,7 @@ jobs: - if: matrix.language == 'cpp' name: Build CPP - uses: github/codeql-action/autobuild@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1 + uses: github/codeql-action/autobuild@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4.36.0 - if: matrix.language == 'cpp' || matrix.language == 'java' name: Build Java @@ -66,7 +66,7 @@ jobs: - if: matrix.language == 'javascript' name: Build JS - uses: github/codeql-action/autobuild@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1 + uses: github/codeql-action/autobuild@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4.36.0 - if: matrix.language == 'cpp' || matrix.language == 'python' name: Build Python @@ -76,7 +76,7 @@ jobs: python setup.py build_ext - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1 + uses: github/codeql-action/analyze@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4.36.0 with: category: "/language:${{matrix.language}}" ref: "${{ github.ref != 'master' && github.ref || '/refs/heads/master' }}" diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index b6fab51..b2f579a 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -77,6 +77,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1 + uses: github/codeql-action/upload-sarif@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4.36.0 with: sarif_file: results.sarif From 7941b467b2c84dd37f6f27cd930f3b51b3305b54 Mon Sep 17 00:00:00 2001 From: Evgenii Kliuchnikov Date: Mon, 1 Jun 2026 05:24:58 -0700 Subject: [PATCH 2/2] Fix Bazel build PiperOrigin-RevId: 924648497 --- c/dec/decode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c/dec/decode.c b/c/dec/decode.c index 446365a..8d57c2b 100644 --- a/c/dec/decode.c +++ b/c/dec/decode.c @@ -1597,7 +1597,7 @@ static BROTLI_BOOL InitializeCompoundDictionaryCopy(BrotliDecoderState* s, /* Update the recent distances cache. */ s->dist_rb[s->dist_rb_idx & 3] = s->distance_code; ++s->dist_rb_idx; - s->meta_block_remaining_len -= length; + s->meta_block_remaining_len -= (int)length; addon->br_index = (uint16_t)index; addon->br_offset = address - addon->chunk_offsets[index]; addon->br_length = length; @@ -1624,7 +1624,7 @@ static int CopyFromCompoundDictionary(BrotliDecoderState* s, int pos) { if (length > rem_chunk_length) length = rem_chunk_length; if (length > (uint32_t)space) length = (uint32_t)space; memcpy(copy_dst, copy_src, (size_t)length); - pos += length; + pos += (int)length; addon->br_offset += length; addon->br_copied += length; if (length == rem_chunk_length) {