]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
lguest: fix occasional crash in example launcher.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 4 Oct 2012 02:33:25 +0000 (12:03 +0930)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:46:55 +0000 (05:46 +0900)
commit827b6f1473f92a3da862da171ce13b00f68d5be3
treeb2464506b64d71555f5052ccdba09d9632c3ad42
parentb4ee9f0173843b3657130a6c1a619ba9b4ea9532
lguest: fix occasional crash in example launcher.

commit ca16f580a5db7e60bfafe59a50bb133bd3347491 upstream.

We usually got away with ->next on the final entry being NULL, but it
finally bit me.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/lguest/lguest.c