Home Dashboard Directory Help
Search

Visual C++ 2012 RTM - x86-32 - std::vector<bool> operator [] crashes if index > int_max by Chris Yaz


Status: 

Closed


1
0
Sign in
to vote
Type: Bug
ID: 763795
Opened: 9/20/2012 9:05:10 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

Compiled for x86-32.

std::vector<bool> vector(2500000000, false);
vector[2147483647] = true; //ok
vector[2147483648] = true; //crash
Details
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 11/29/2012 at 1:47 PM
Hello,

Thanks for reporting the bug. We've fixed it, and the fix will be available in the next release of our C++ Standard Library implementation.

Note: Connect doesn’t notify me about comments; if you have further questions, please feel free to e-mail me.

James McNellis
Visual C++ Libraries
james.mcnellis@microsoft.com
Posted by Microsoft on 9/20/2012 at 6:53 PM
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/20/2012 at 9:50 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)
Sign in to post a workaround.