TUI: Fixed a potential null pointer dereference in the kernel module.
TUI: Fixed a potential null pointer dereference in the kernel module.

jmolloy/pedigree,jmolloy/pedigree,jmolloy/pedigree,jmolloy/pedigree,jmolloy/pedigree,jmolloy/pedigree,jmolloy/pedigree