This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/6518: ???



>Number:         6518
>Category:       c++
>Synopsis:       ???
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 30 12:16:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        3.0.2
>Organization:
>Environment:
System: Linux x10 2.4.9-31 #1 Tue Feb 26 06:53:37 EST 2002 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../configure --enable-version-specific-runtime-libs --prefix=/usr/local --program-suffix=-3.0.2
>Description:
	the <<  operator will crash when passing a null pointer to it (2.95 does not)
>How-To-Repeat:
	#include <string.h>
#include <iostream.h>
int main ( void )
{
char * pt = NULL;
cout << pt << endl;
return 0;
}
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]