Check user buffer size.