diff for duplicates of <20120627085936.GA31212@elgon.mountain> diff --git a/a/1.txt b/N1/1.txt index 262aba7..d893b6b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,4 +1,4 @@ -If mc == BFI_MC_MAX then we're reading past the end of the +If mc = BFI_MC_MAX then we're reading past the end of the mod->mbhdlr[] array. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> @@ -13,8 +13,8 @@ index 14e6284..8cdb79c 100644 return; } -- if ((mc > BFI_MC_MAX) || (mod->mbhdlr[mc].cbfn == NULL)) -+ if ((mc >= BFI_MC_MAX) || (mod->mbhdlr[mc].cbfn == NULL)) +- if ((mc > BFI_MC_MAX) || (mod->mbhdlr[mc].cbfn = NULL)) ++ if ((mc >= BFI_MC_MAX) || (mod->mbhdlr[mc].cbfn = NULL)) return; mod->mbhdlr[mc].cbfn(mod->mbhdlr[mc].cbarg, &m); diff --git a/a/content_digest b/N1/content_digest index de5511a..df5b8ce 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020120627085800.GA3007@mwanda\0" "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch -resend] [SCSI] bfa: off by one in bfa_ioc_mbox_isr()\0" - "Date\0Wed, 27 Jun 2012 11:59:36 +0300\0" + "Date\0Wed, 27 Jun 2012 08:59:36 +0000\0" "To\0Jing Huang <huangj@brocade.com>\0" "Cc\0Krishna C Gudipati <kgudipat@brocade.com>" James E.J. Bottomley <JBottomley@parallels.com> @@ -10,7 +10,7 @@ " kernel-janitors@vger.kernel.org\0" "\00:1\0" "b\0" - "If mc == BFI_MC_MAX then we're reading past the end of the\n" + "If mc = BFI_MC_MAX then we're reading past the end of the\n" "mod->mbhdlr[] array.\n" "\n" "Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>\n" @@ -25,10 +25,10 @@ " \t\t\treturn;\n" " \t\t}\n" " \n" - "-\t\tif ((mc > BFI_MC_MAX) || (mod->mbhdlr[mc].cbfn == NULL))\n" - "+\t\tif ((mc >= BFI_MC_MAX) || (mod->mbhdlr[mc].cbfn == NULL))\n" + "-\t\tif ((mc > BFI_MC_MAX) || (mod->mbhdlr[mc].cbfn = NULL))\n" + "+\t\tif ((mc >= BFI_MC_MAX) || (mod->mbhdlr[mc].cbfn = NULL))\n" " \t\t\treturn;\n" " \n" " \t\tmod->mbhdlr[mc].cbfn(mod->mbhdlr[mc].cbarg, &m);" -bc6540780898f4b4fff0ec4228641f6d8f5053f1ec85f333a10188b4ceb19dc1 +7f580c9b3a03277efb70669a147399c3261c9daceaabafeb179b2b1c1e39c146
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.