linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* backlight_register_device can oops if name is null ?
@ 2012-12-31 21:04 devendra.aaru
  2013-01-02  0:44 ` Jingoo Han
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: devendra.aaru @ 2012-12-31 21:04 UTC (permalink / raw)
  To: linux-fbdev

Hello,

while reading through the backlight_register_device function, there
seems to be a problem if the new object name is null, the pr_debug
print goes and dereferences a null pointer causing an oops,

the print should be removed or the check must be placed to ensure that
name is not null,

any ideas?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-03  5:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-31 21:04 backlight_register_device can oops if name is null ? devendra.aaru
2013-01-02  0:44 ` Jingoo Han
2013-01-02 16:40 ` devendra.aaru
2013-01-03  2:31 ` Jingoo Han
2013-01-03  5:22 ` devendra.aaru

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).