[Bug libc/366] Compiling on 64-bit yields segmentation fault when run, on 32-bit runs fine.

aj at suse dot de sourceware-bugzilla@sources.redhat.com
Fri Sep 3 04:23:00 GMT 2004


------- Additional Comments From aj at suse dot de  2004-09-03 04:23 -------
The ISO C99 standard in section 7.15 #3 forbids to usages of va_list without
a va_end/va_start.  Removing one vfprintf call from io_vprint fixes the problem.

Your program is not valid C, it just works by chance on 32-bit.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://sources.redhat.com/bugzilla/show_bug.cgi?id=366

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Glibc-bugs mailing list