]> git.karo-electronics.de Git - karo-tx-linux.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:50:19 +0000 (05:50 +0900)
commit60b3e539bffddda2f1dd41d77e7353e864cca210
tree5571e9b1a561a59f772063e08f5226cde6ac7f28
parent0c9f520eff046d5dea7ab8ac20f5835288300625
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