@bagder IIRC it doesn't overflow, it just doesn't nul-terminate. I seem to recall that we had to have a wrapper around MSVC snprintf back at a previous job, to make it behave like a C99 snprintf.
Remember that snprintf() wasn't standardized until C99, and that the older compilers had their own implementations that weren't quite compatible with each other.