Added sanity checking to kernel vnsprintf

UCC git Repository :: git.ucc.asn.au