kernel32: Check for a valid pointer before yanking the line.