[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1210930449.3812.15.camel@dhcp-lab-164.englab.brq.redhat.com>
Date: Fri, 16 May 2008 11:34:09 +0200
From: Jan Lieskovsky <jlieskov@...hat.com>
To: Cyrill Gorcunov <gorcunov@...il.com>,
Henrique de Moraes Holschuh <hmh@....eng.br>,
Andrew Morton <akpm@...ux-foundation.org>,
Len Brown <len.brown@...el.com>
Cc: linux-kernel@...r.kernel.org
Subject: thinkpad_acpi: fix possible NULL pointer dereference if kstrdup
for ec_version_str failed
Hello guys,
apologize for bothering you if wrong, but based on patch from Cyrill:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=90fe17f4df2f830601ffd422b11d1f7f9a9d0355
There is a potential NULL pointer dereference in thinkpad_acpi_module_exit() -- in case,
kstrdup for thinkpad_id.ec_version_str failed.
Kind regards
Jan Lieskovsky
View attachment "kstrdup_ec_version_str.patch" of type "text/x-patch" (443 bytes)
Powered by blists - more mailing lists