Commit a6db2a5d authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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
parents b5f21708 b29bf711
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ static int jffs2_rtime_decompress(unsigned char *data_in,

		positions[value]=outpos;
		if (repeat) {
			if ((outpos + repeat) >= destlen) {
			if ((outpos + repeat) > destlen) {
				return 1;
			}
			if (backoffs + repeat >= outpos) {