[
https://issues.apache.org/jira/browse/STDCXX-828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587247#action_12587247
]
Eric Lemings commented on STDCXX-828:
-------------------------------------
It's definately buffer overflow:
{noformat}
[EMAIL PROTECTED] tests]$ ./27.istream.fmat.arith
# INFO (S1) (10 lines):
# TEXT:
# COMPILER: SunPro, __SUNPRO_CC = 0x590
# ENVIRONMENT: x86_64/LP64 running sunos-5.10
# FILE: 27.istream.fmat.arith.cpp
# COMPILED: Apr 8 2008, 23:01:53
# COMMENT:
############################################################
# CLAUSE: istream.formatted.arithmetic
# INFO (S1) (4 lines):
# TEXT: std::basic_istream<char, UserTraits<char>>::operator>>(long double&)
# CLAUSE: istream.formatted.arithmetic
# LINE: 678
buf.endoff=249
*buf.pbufsize=304
buf.endoff=147
*buf.pbufsize=344
buf.endoff=155
*buf.pbufsize=344
buf.endoff=158
*buf.pbufsize=344
buf.endoff=86
*buf.pbufsize=134
buf.endoff=354
*buf.pbufsize=344
{noformat}
> [AMD64] SIGABRT in 27.istream.fmat.arith
> ----------------------------------------
>
> Key: STDCXX-828
> URL: https://issues.apache.org/jira/browse/STDCXX-828
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Tests
> Affects Versions: 4.2.0
> Environment: Sun C++ 5.9/Solaris/AMD64
> Reporter: Martin Sebor
> Assignee: Eric Lemings
> Fix For: 4.2.1
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> When compiled with Intel C++ 10.0 on Linux/AMD64 or Sun C++ 5.9 on Solaris
> 10/AMD64, the test
> [27.istream.fmat.arith.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/iostream/27.istream.fmat.arith.cpp]
> abends with SIGABRT. This was observed in 8{D,S}, 12{D,S} and 15D build
> types, not necessarily consistently on both platforms.
> The same test was also failing in 4.2.0 with Intel C++.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.