]> git.karo-electronics.de Git - karo-tx-linux.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>
Fri, 28 Dec 2012 15:54:42 +0000 (10:54 -0500)
commit6710c61d03d5bab8321208156113a31676967407
tree6ea5f38d85826bfb28c47c271bc5cd89741c084a
parentc644671155649eb1d6fa8403953278d94e106653
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