diff options
author | Ameya Palande <2ameya@gmail.com> | 2015-02-05 13:36:24 -0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2015-02-12 08:05:08 +0900 |
commit | f5c40daed2ab606e3113bfc1bf214ce6ebbcc776 (patch) | |
tree | 0f9af11cbe11611ecf80a900428848ffc15a7407 /kexec/kernel_version.c | |
parent | d606837b56d46eb7f815b5d85f07fcc3f1555d00 (diff) |
multiboot: fix crash on NULL kernel command line
If "--command-line" option is not specified, then kexec segfaults while
dereferencing NULL command line string pointer. While we are at it, also
fix indentation and use '{' and '}' consistently.
Signed-off-by: Ameya Palande <2ameya@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kernel_version.c')
0 files changed, 0 insertions, 0 deletions