diff for duplicates of <20200715151220.GE2571@kadam> diff --git a/a/1.txt b/N1/1.txt index 499079b..12f2f89 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -57,7 +57,7 @@ On Wed, Jul 15, 2020 at 11:02:58PM +0900, Tetsuo Handa wrote: > says that info->var.xoffset does not come from the user. > > ---------- -> bit_clear_margins info->var.xoffset=0 rs\x1024 info->var.yoffset=0 bs€0 +> bit_clear_margins info->var.xoffset=0 rs=1024 info->var.yoffset=0 bs=800 > ---------- In fb_set_var() we do: @@ -112,7 +112,7 @@ index caf817bcb05c..5c74181fea5d 100644 +{ + unsigned int v_margins, h_margins; + -+ /* I think var->height and var->width = UINT_MAX means something. */ ++ /* I think var->height and var->width == UINT_MAX means something. */ + + if (var->xres > INT_MAX || + var->yres > INT_MAX || @@ -168,3 +168,8 @@ index caf817bcb05c..5c74181fea5d 100644 + if (info->fbops->fb_get_caps) { ret = fb_check_caps(info, var, var->activate); + +_______________________________________________ +dri-devel mailing list +dri-devel@lists.freedesktop.org +https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/a/content_digest b/N1/content_digest index 0e24947..a2f8209 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -5,7 +5,7 @@ "ref\0b50f85c7-80e5-89c5-0aca-31d8e9892665@i-love.sakura.ne.jp\0" "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0Re: [PATCH v2] fbdev: Detect integer underflow at \"struct fbcon_ops\"->clear_margins.\0" - "Date\0Wed, 15 Jul 2020 15:12:20 +0000\0" + "Date\0Wed, 15 Jul 2020 18:12:20 +0300\0" "To\0Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>\0" "Cc\0linux-fbdev@vger.kernel.org" Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> @@ -77,7 +77,7 @@ "> says that info->var.xoffset does not come from the user.\n" "> \n" "> ----------\n" - "> bit_clear_margins info->var.xoffset=0 rs\02024 info->var.yoffset=0 bs\342\202\2540\n" + "> bit_clear_margins info->var.xoffset=0 rs=1024 info->var.yoffset=0 bs=800\n" "> ----------\n" "\n" "In fb_set_var() we do:\n" @@ -132,7 +132,7 @@ "+{\n" "+\tunsigned int v_margins, h_margins;\n" "+\n" - "+\t/* I think var->height and var->width = UINT_MAX means something. */\n" + "+\t/* I think var->height and var->width == UINT_MAX means something. */\n" "+\n" "+\tif (var->xres > INT_MAX ||\n" "+\t var->yres > INT_MAX ||\n" @@ -187,6 +187,11 @@ "+\t\treturn -EINVAL;\n" "+\n" " \tif (info->fbops->fb_get_caps) {\n" - " \t\tret = fb_check_caps(info, var, var->activate);" + " \t\tret = fb_check_caps(info, var, var->activate);\n" + " \n" + "_______________________________________________\n" + "dri-devel mailing list\n" + "dri-devel@lists.freedesktop.org\n" + https://lists.freedesktop.org/mailman/listinfo/dri-devel -4166b1d2c316a8cfe1b623ed306270be3293b137bcfc0e1dea4138ab05f72bd9 +85fbf75fdac1195664c5cbd59718320b01a860815071e68a2a81d70711bbf6c8
diff --git a/a/1.txt b/N2/1.txt index 499079b..6c72153 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -57,7 +57,7 @@ On Wed, Jul 15, 2020 at 11:02:58PM +0900, Tetsuo Handa wrote: > says that info->var.xoffset does not come from the user. > > ---------- -> bit_clear_margins info->var.xoffset=0 rs\x1024 info->var.yoffset=0 bs€0 +> bit_clear_margins info->var.xoffset=0 rs=1024 info->var.yoffset=0 bs=800 > ---------- In fb_set_var() we do: @@ -112,7 +112,7 @@ index caf817bcb05c..5c74181fea5d 100644 +{ + unsigned int v_margins, h_margins; + -+ /* I think var->height and var->width = UINT_MAX means something. */ ++ /* I think var->height and var->width == UINT_MAX means something. */ + + if (var->xres > INT_MAX || + var->yres > INT_MAX || diff --git a/a/content_digest b/N2/content_digest index 0e24947..b459858 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -5,17 +5,17 @@ "ref\0b50f85c7-80e5-89c5-0aca-31d8e9892665@i-love.sakura.ne.jp\0" "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0Re: [PATCH v2] fbdev: Detect integer underflow at \"struct fbcon_ops\"->clear_margins.\0" - "Date\0Wed, 15 Jul 2020 15:12:20 +0000\0" + "Date\0Wed, 15 Jul 2020 18:12:20 +0300\0" "To\0Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>\0" - "Cc\0linux-fbdev@vger.kernel.org" - Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> + "Cc\0Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>" Greg Kroah-Hartman <gregkh@linuxfoundation.org> - syzbot <syzbot+e5fd3e65515b48c02a30@syzkaller.appspotmail.com> - linux-kernel@vger.kernel.org - dri-devel@lists.freedesktop.org - George Kennedy <george.kennedy@oracle.com> Jiri Slaby <jslaby@suse.com> - " Dmitry Vyukov <dvyukov@google.com>\0" + Dmitry Vyukov <dvyukov@google.com> + George Kennedy <george.kennedy@oracle.com> + dri-devel@lists.freedesktop.org + linux-fbdev@vger.kernel.org + linux-kernel@vger.kernel.org + " syzbot <syzbot+e5fd3e65515b48c02a30@syzkaller.appspotmail.com>\0" "\00:1\0" "b\0" "On Wed, Jul 15, 2020 at 11:02:58PM +0900, Tetsuo Handa wrote:\n" @@ -77,7 +77,7 @@ "> says that info->var.xoffset does not come from the user.\n" "> \n" "> ----------\n" - "> bit_clear_margins info->var.xoffset=0 rs\02024 info->var.yoffset=0 bs\342\202\2540\n" + "> bit_clear_margins info->var.xoffset=0 rs=1024 info->var.yoffset=0 bs=800\n" "> ----------\n" "\n" "In fb_set_var() we do:\n" @@ -132,7 +132,7 @@ "+{\n" "+\tunsigned int v_margins, h_margins;\n" "+\n" - "+\t/* I think var->height and var->width = UINT_MAX means something. */\n" + "+\t/* I think var->height and var->width == UINT_MAX means something. */\n" "+\n" "+\tif (var->xres > INT_MAX ||\n" "+\t var->yres > INT_MAX ||\n" @@ -189,4 +189,4 @@ " \tif (info->fbops->fb_get_caps) {\n" " \t\tret = fb_check_caps(info, var, var->activate);" -4166b1d2c316a8cfe1b623ed306270be3293b137bcfc0e1dea4138ab05f72bd9 +e28b762f3201df9018a9d369dffc0a22cbdc832d3a8a5d1173bd3b0baae7066b
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.