diff for duplicates of <20200328181259.GA24335@ravnborg.org> diff --git a/a/1.txt b/N1/1.txt index f64ad3c..c1ccb68 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -24,7 +24,7 @@ On Sat, Mar 28, 2020 at 11:15:10PM +0800, Qiujun Huang wrote: > + if (logo_shown >= 0 && vc_cons_allocated(logo_shown)) { > struct vc_data *conp2 = vc_cons[logo_shown].d; > -> if (conp2->vc_top = logo_lines +> if (conp2->vc_top == logo_lines > @@ -2852,7 +2852,7 @@ static void fbcon_scrolldelta(struct vc_data *vc, int lines) > return; > if (vc->vc_mode != KD_TEXT || !lines) @@ -33,7 +33,7 @@ On Sat, Mar 28, 2020 at 11:15:10PM +0800, Qiujun Huang wrote: > + if (logo_shown >= 0 && vc_cons_allocated(logo_shown)) { > struct vc_data *conp2 = vc_cons[logo_shown].d; > -> if (conp2->vc_top = logo_lines +> if (conp2->vc_top == logo_lines I am not familiar with this code. @@ -65,3 +65,7 @@ I did not stare long enough on the code to come up with a patch, but this may be a better way to fix it. Sam +_______________________________________________ +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 94a601f..3224ad8 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020200328151511.22932-1-hqjagain@gmail.com\0" "From\0Sam Ravnborg <sam@ravnborg.org>\0" "Subject\0Re: [PATCH] fbcon: fix null-ptr-deref in fbcon_switch\0" - "Date\0Sat, 28 Mar 2020 18:12:59 +0000\0" + "Date\0Sat, 28 Mar 2020 19:12:59 +0100\0" "To\0Qiujun Huang <hqjagain@gmail.com>\0" "Cc\0daniel.thompson@linaro.org" b.zolnierkie@samsung.com @@ -38,7 +38,7 @@ "> +\tif (logo_shown >= 0 && vc_cons_allocated(logo_shown)) {\n" "> \t\tstruct vc_data *conp2 = vc_cons[logo_shown].d;\n" "> \n" - "> \t\tif (conp2->vc_top = logo_lines\n" + "> \t\tif (conp2->vc_top == logo_lines\n" "> @@ -2852,7 +2852,7 @@ static void fbcon_scrolldelta(struct vc_data *vc, int lines)\n" "> \t\t\treturn;\n" "> \t\tif (vc->vc_mode != KD_TEXT || !lines)\n" @@ -47,7 +47,7 @@ "> +\t\tif (logo_shown >= 0 && vc_cons_allocated(logo_shown)) {\n" "> \t\t\tstruct vc_data *conp2 = vc_cons[logo_shown].d;\n" "> \n" - "> \t\t\tif (conp2->vc_top = logo_lines\n" + "> \t\t\tif (conp2->vc_top == logo_lines\n" "\n" "I am not familiar with this code.\n" "\n" @@ -78,6 +78,10 @@ "I did not stare long enough on the code to come up with a patch,\n" "but this may be a better way to fix it.\n" "\n" - "\tSam" + "\tSam\n" + "_______________________________________________\n" + "dri-devel mailing list\n" + "dri-devel@lists.freedesktop.org\n" + https://lists.freedesktop.org/mailman/listinfo/dri-devel -23d23eabb807c7022dc414759f67a5655d7e2fbf61b3097207037bfafdb544b9 +b36b7ecf9ebe7a388a8e80f505c2de5decb8dae06cbaf9826b6a2fa5e2eba2c7
diff --git a/a/1.txt b/N2/1.txt index f64ad3c..8673397 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -24,7 +24,7 @@ On Sat, Mar 28, 2020 at 11:15:10PM +0800, Qiujun Huang wrote: > + if (logo_shown >= 0 && vc_cons_allocated(logo_shown)) { > struct vc_data *conp2 = vc_cons[logo_shown].d; > -> if (conp2->vc_top = logo_lines +> if (conp2->vc_top == logo_lines > @@ -2852,7 +2852,7 @@ static void fbcon_scrolldelta(struct vc_data *vc, int lines) > return; > if (vc->vc_mode != KD_TEXT || !lines) @@ -33,7 +33,7 @@ On Sat, Mar 28, 2020 at 11:15:10PM +0800, Qiujun Huang wrote: > + if (logo_shown >= 0 && vc_cons_allocated(logo_shown)) { > struct vc_data *conp2 = vc_cons[logo_shown].d; > -> if (conp2->vc_top = logo_lines +> if (conp2->vc_top == logo_lines I am not familiar with this code. diff --git a/a/content_digest b/N2/content_digest index 94a601f..f19179c 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,15 +1,16 @@ "ref\020200328151511.22932-1-hqjagain@gmail.com\0" "From\0Sam Ravnborg <sam@ravnborg.org>\0" "Subject\0Re: [PATCH] fbcon: fix null-ptr-deref in fbcon_switch\0" - "Date\0Sat, 28 Mar 2020 18:12:59 +0000\0" + "Date\0Sat, 28 Mar 2020 19:12:59 +0100\0" "To\0Qiujun Huang <hqjagain@gmail.com>\0" - "Cc\0daniel.thompson@linaro.org" - b.zolnierkie@samsung.com + "Cc\0b.zolnierkie@samsung.com" daniel.vetter@ffwll.ch - linux-fbdev@vger.kernel.org + maarten.lankhorst@linux.intel.com + daniel.thompson@linaro.org + ghalat@redhat.com dri-devel@lists.freedesktop.org - linux-kernel@vger.kernel.org - " ghalat@redhat.com\0" + linux-fbdev@vger.kernel.org + " linux-kernel@vger.kernel.org\0" "\00:1\0" "b\0" "Hi Qiujun\n" @@ -38,7 +39,7 @@ "> +\tif (logo_shown >= 0 && vc_cons_allocated(logo_shown)) {\n" "> \t\tstruct vc_data *conp2 = vc_cons[logo_shown].d;\n" "> \n" - "> \t\tif (conp2->vc_top = logo_lines\n" + "> \t\tif (conp2->vc_top == logo_lines\n" "> @@ -2852,7 +2852,7 @@ static void fbcon_scrolldelta(struct vc_data *vc, int lines)\n" "> \t\t\treturn;\n" "> \t\tif (vc->vc_mode != KD_TEXT || !lines)\n" @@ -47,7 +48,7 @@ "> +\t\tif (logo_shown >= 0 && vc_cons_allocated(logo_shown)) {\n" "> \t\t\tstruct vc_data *conp2 = vc_cons[logo_shown].d;\n" "> \n" - "> \t\t\tif (conp2->vc_top = logo_lines\n" + "> \t\t\tif (conp2->vc_top == logo_lines\n" "\n" "I am not familiar with this code.\n" "\n" @@ -80,4 +81,4 @@ "\n" "\tSam" -23d23eabb807c7022dc414759f67a5655d7e2fbf61b3097207037bfafdb544b9 +c813e77a48eec8cb1a6936f441ce35f93684e3e8bc176398683f3bee3d603271
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.