Skip to content

Commit 86d11b0

Browse files
committed
Merge tag 'zstd-linus-v6.7-rc2' of https://github.com/terrelln/linux
Pull Zstd fix from Nick Terrell: "Only a single line change to fix a benign UBSAN warning" * tag 'zstd-linus-v6.7-rc2' of https://github.com/terrelln/linux: zstd: Fix array-index-out-of-bounds UBSAN warning
2 parents 2e6ef8a + 77618db commit 86d11b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/zstd/common/fse_decompress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ size_t FSE_decompress_wksp(void* dst, size_t dstCapacity, const void* cSrc, size
312312

313313
typedef struct {
314314
short ncount[FSE_MAX_SYMBOL_VALUE + 1];
315-
FSE_DTable dtable[1]; /* Dynamically sized */
315+
FSE_DTable dtable[]; /* Dynamically sized */
316316
} FSE_DecompressWksp;
317317

318318

0 commit comments

Comments
 (0)