Messages in this thread | | | From | "Henrique de Moraes Holschuh" <> | Subject | Re: thinkpad_acpi: fix possible NULL pointer dereference if kstrdup for ec_version_str failed | Date | Fri, 16 May 2008 12:54:41 -0300 |
| |
On Fri, 16 May 2008 11:34:09 +0200, "Jan Lieskovsky" <jlieskov@redhat.com> said: > There is a potential NULL pointer dereference in > thinkpad_acpi_module_exit() -- in case, > kstrdup for thinkpad_id.ec_version_str failed.
One can kfree(NULL) without problems. Is there any other unprotected access to ec_version_str that I failed to see?
-- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
| |