You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2001/03/09 18:23:47 UTC

[Bug 733] Changed - Seg fault when trying to parse empty filename

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=733

*** shadow/733	Tue Feb 27 10:20:58 2001
--- shadow/733.tmp.5769	Fri Mar  9 09:23:47 2001
***************
*** 5,11 ****
  |       Status: NEW                         Version: 1.4                     |
  |   Resolution:                            Platform: PC                      |
  |     Severity: Normal                   OS/Version: Linux                   |
! |     Priority:                           Component: DOM                     |
  +----------------------------------------------------------------------------+
  |  Assigned To: xerces-c-dev@xml.apache.org                                  |
  |  Reported By: herod@interact-tv.com                                        |
--- 5,11 ----
  |       Status: NEW                         Version: 1.4                     |
  |   Resolution:                            Platform: PC                      |
  |     Severity: Normal                   OS/Version: Linux                   |
! |     Priority: High                      Component: DOM                     |
  +----------------------------------------------------------------------------+
  |  Assigned To: xerces-c-dev@xml.apache.org                                  |
  |  Reported By: herod@interact-tv.com                                        |
***************
*** 92,95 ****
     from /home/people/herod/xerces-c-src1_4_0/lib/libxerces-c1_4.so
  #5  0x4006f338 in DOMParser::parse ()
     from /home/people/herod/xerces-c-src1_4_0/lib/libxerces-c1_4.so
! #6  0x8049a4d in main (argc=1, argv=0xbffff874) at xerces.C:30
--- 92,113 ----
     from /home/people/herod/xerces-c-src1_4_0/lib/libxerces-c1_4.so
  #5  0x4006f338 in DOMParser::parse ()
     from /home/people/herod/xerces-c-src1_4_0/lib/libxerces-c1_4.so
! #6  0x8049a4d in main (argc=1, argv=0xbffff874) at xerces.C:30
! 
! ------- Additional Comments From tng@ca.ibm.com  2001-03-09 09:23 -------
! This only happens in Linux.  Here is a sample code that reproduce the core dump:
! 
! test.cpp
! ========
! #include <stdio.h>
! int main() {
!  unsigned short* x = '\x00';
!  if(!*x)
!    printf("hello\n");
!  return 0;
! } 
! 
! Running above problem under platforms like AIX or Windows, "hello" can be 
! printed successfully.  But with Linux, the "if(!*x)" gives core dump.
! 
! Is this a Linux problem?

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org