Bug in CStringConverter::WtoA().

There's a bug in CStringConverter::WtoA() when the default system code page is set to a multi-byte code page. The result is that the call will fail with an exception stating that "The data area passed to a system call is too small". This was due to some naive code page handling (or lack of handling) in the code that determined the required buffer size.

This bug will be fixed in release 6.4 of The Server Framework which does not currently have a release date. If you need the fix sooner please get in touch.

Leave a comment

Follow us on Twitter: @ServerFramework

About this Entry

Automatic crash dump creation. was the previous entry in this blog.

Avoiding non-paged pool exhaustion when using asynchronous file writers is the next entry in this blog.

I usually write about the development of The Server Framework, a super scalable, high performance, C++, I/O Completion Port based framework for writing servers and clients on Windows platforms.

Find recent content on the main index or look in the archives to find all content.