Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.1.3
-
None
-
None
-
all
Description
The following test fails with segmentation fault:
#include <iostream>
#include <string>
#include <stdexcept>
static char long_string [4096] =
{'a'};
int main (void)
{
try
catch (std::length_error& e)
{ std::cout << "Got expected length error" << '\n'; } return 0;
}
See the discussion for additional details:
http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200604.mbox/%3c444EC747.1090200@roguewave.com%3e
Attachments
Issue Links
- is depended upon by
-
STDCXX-1060 std::basic_string::append(char*, pos) SIGSEGV for pos == std::string::npos
- Resolved
- relates to
-
STDCXX-1063 std::string::replace (size_type, size_type, size_type, char_type) doesn't check third argument
- Resolved