diff for duplicates of <4B465C2D.8030303@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 5f9509c..13622e8 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -13,10 +13,10 @@ index e4b8231..d28494f 100644 struct exit_ctl_data *p; p = kvm_get_exit_data(vcpu); -- if (p && p->exit_reason = EXIT_REASON_PAL_CALL) { +- if (p && p->exit_reason == EXIT_REASON_PAL_CALL) { + if (!p) + return; -+ if (p->exit_reason = EXIT_REASON_PAL_CALL) { ++ if (p->exit_reason == EXIT_REASON_PAL_CALL) { p->u.pal_data.ret = result; - return ; + return; diff --git a/a/content_digest b/N1/content_digest index cac13eb..39d2a12 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,10 @@ "From\0Roel Kluin <roel.kluin@gmail.com>\0" "Subject\0[PATCH] KVM: dereference of NULL pointer in set_pal_result()\0" - "Date\0Thu, 07 Jan 2010 22:11:57 +0000\0" - "To\0kvm-ia64@vger.kernel.org\0" + "Date\0Thu, 07 Jan 2010 23:11:57 +0100\0" + "To\0Xiantao Zhang <xiantao.zhang@intel.com>" + kvm-ia64@vger.kernel.org + Andrew Morton <akpm@linux-foundation.org> + " LKML <linux-kernel@vger.kernel.org>\0" "\00:1\0" "b\0" "Do not dereference a NULL pointer\n" @@ -19,10 +22,10 @@ " \tstruct exit_ctl_data *p;\n" " \n" " \tp = kvm_get_exit_data(vcpu);\n" - "-\tif (p && p->exit_reason = EXIT_REASON_PAL_CALL) {\n" + "-\tif (p && p->exit_reason == EXIT_REASON_PAL_CALL) {\n" "+\tif (!p)\n" "+\t\treturn;\n" - "+\tif (p->exit_reason = EXIT_REASON_PAL_CALL) {\n" + "+\tif (p->exit_reason == EXIT_REASON_PAL_CALL) {\n" " \t\tp->u.pal_data.ret = result;\n" "-\t\treturn ;\n" "+\t\treturn;\n" @@ -30,4 +33,4 @@ " \tINIT_PAL_STATUS_UNIMPLEMENTED(p->u.pal_data.ret);\n" } -38a4ac060a8e20765f7d8d8b1fe353853e15ec6afc8b653aa5022745cf3c296a +9b363e2ae84b98c3c50312479d0df03246e502343846c7d64be13be5d52800ac
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.