On Thursday 26 August 2010 08:15:03 Dmitry Torokhov wrote: > Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx> Acked-by: Carlos Corbacho <carlos@xxxxxxxxxxxxxxxxxxx> > --- > > drivers/platform/x86/wmi.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c > index 5abb2ad..4032fa4 100644 > --- a/drivers/platform/x86/wmi.c > +++ b/drivers/platform/x86/wmi.c > @@ -836,6 +836,8 @@ static acpi_status parse_wdg(acpi_handle handle) > return status; > > obj = (union acpi_object *) out.pointer; > + if (!obj) > + return AE_ERROR; > > if (obj->type != ACPI_TYPE_BUFFER) { > status = AE_ERROR; -- E-Mail: carlos@xxxxxxxxxxxxxxxxxxx Web: strangeworlds.co.uk GPG Key ID: 0x23EE722D -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html