Skip to content

Commit a6db2a5

Browse files
committed
Merge tag 'ubifs-for-linus-6.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs
Pull jffs2 fix from Richard Weinberger: - Fixup rtime compressor bounds checking * tag 'ubifs-for-linus-6.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs: jffs2: Fix rtime decompressor
2 parents b5f2170 + b29bf71 commit a6db2a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/jffs2/compr_rtime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ static int jffs2_rtime_decompress(unsigned char *data_in,
9595

9696
positions[value]=outpos;
9797
if (repeat) {
98-
if ((outpos + repeat) >= destlen) {
98+
if ((outpos + repeat) > destlen) {
9999
return 1;
100100
}
101101
if (backoffs + repeat >= outpos) {

0 commit comments

Comments
 (0)