Hi Vicamo,

It shouldn't. If you pass in a buf of NULL with *bufsiz == 0, the assert at line 53 fails.