Home Dashboard Directory Help

Errors detected in the Visual C++ 2012 libraries by Andrey_Karpov


 as Fixed Help for as Fixed

Sign in
to vote
Type: Bug
ID: 763474
Opened: 9/19/2012 1:03:32 AM
Access Restriction: Public
User(s) can reproduce this bug


Blog post: http://www.viva64.com/en/b/0163/

To interest, one example here:

CString m_strBrowseFolderTitle;

void CMFCEditBrowseCtrl::OnBrowse()
LPCTSTR lpszTitle = m_strBrowseFolderTitle != _T("") ?
    m_strBrowseFolderTitle : (LPCTSTR)NULL;

V623 Consider inspecting the '?:' operator. A temporary object is being created and subsequently destroyed. afxeditbrowsectrl.cpp 308
Sign in to post a comment.
Posted by Microsoft on 4/29/2014 at 12:32 PM
Thank you for reporting this issue. This issue has been fixed in Visual Studio 2013. You can install a trial version of Visual Studio 2013 with the fix from: http://go.microsoft.com/?linkid=9832436
Posted by Microsoft on 9/19/2012 at 2:27 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 9/19/2012 at 1:53 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Posted by Andrey_Karpov on 9/19/2012 at 1:08 AM
Unfortunately, we don't have a project and make-files to build the libraries included into Visual C++. That's why our analysis is rather shallow. We have just found something and reported about it. Don't think there are no other fragments that need reviewing :).

We are sure that you'll find it much more convenient to use PVS-Studio to check the libraries. If you need, we are ready to give you all the necessary recommendations and help to integrate the tool into the make-files. It will be also easier for you to decide whether certain fragments are errors or not.
Sign in to post a workaround.