Hello,

In the file getWindowsDNSServers.cpp, line # 221, bug is present -
enlarged buffer size is used and consequence is stack corruption. In
function mbstowcs() last parameter must be the maximum number of
multibyte characters to convert, not the size of wide character string
(must be size of szAdapter, not the size of szwAdapter).


-- 
Best regards,
 Victor                           mailto:[EMAIL PROTECTED]



_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to