[PR #21] [MERGED] Fix undefined behavior in decoder. #595

Open
opened 2026-01-29 20:46:20 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/21
Author: @szabadka
Created: 11/26/2014
Status: Merged
Merged: 11/26/2014
Merged by: @szabadka

Base: masterHead: master


📝 Commits (1)

  • 4278934 Fix undefined behavior in decoder.

📊 Changes

2 files changed (+2 additions, -1 deletions)

View changed files

📝 dec/bit_reader.h (+1 -0)
📝 dec/decode.c (+1 -1)

📄 Description

Use memmove() for copying overlapping buffers.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/google/brotli/pull/21 **Author:** [@szabadka](https://github.com/szabadka) **Created:** 11/26/2014 **Status:** ✅ Merged **Merged:** 11/26/2014 **Merged by:** [@szabadka](https://github.com/szabadka) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`4278934`](https://github.com/google/brotli/commit/4278934e8287efce767701f753144615fb44ad4d) Fix undefined behavior in decoder. ### 📊 Changes **2 files changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `dec/bit_reader.h` (+1 -0) 📝 `dec/decode.c` (+1 -1) </details> ### 📄 Description Use memmove() for copying overlapping buffers. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 20:46:20 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#595