59c3c1b282
date: 2006/01/16 17:03:21; author: csjp; state: Exp; lines: +6 -2 Although we check the return value of copyin(9) while determaining how long the string is in userspace, afterwards we call malloc(M_WAITOK), which could sleep for an unknown amount of time. Check the return value of copyin(9) just to be sure that nothing has changed during that time.