]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
asus-laptop: Fix potential invalid pointer dereference
authorMatthew Garrett <matthew.garrett@nebula.com>
Fri, 28 Dec 2012 15:54:42 +0000 (10:54 -0500)
committerMatthew Garrett <matthew.garrett@nebula.com>
Mon, 7 Jan 2013 17:33:48 +0000 (12:33 -0500)
commit9f89748463f13c9657496b12820f09a988ce77ff
tree662d6e8236ec488f8877d099f414a9d9f8488cd3
parentf7cb13b3f27f70caacf1a0a0b4f1f9b86420ee03
asus-laptop: Fix potential invalid pointer dereference

The 0-day build testing backend noticed that a string could be dereferenced
without validation. Fix that.

Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/asus-laptop.c