[Haiku-bugs] [Haiku] #3411: Programs that call setbuf(fp, NULL) dump core

schily trac at haiku-os.org
Sat Feb 7 17:15:53 CET 2009


#3411: Programs that call setbuf(fp, NULL) dump core
-----------------------+----------------------------------------------------
 Reporter:  schily     |       Owner:  axeld         
     Type:  bug        |      Status:  new           
 Priority:  normal     |   Milestone:  R1            
Component:  - General  |     Version:  R1 development
Blockedby:             |    Platform:  All           
 Blocking:             |  
-----------------------+----------------------------------------------------

Comment(by schily):

 setbuf() is part of libc and calls setbuffer()
 The program aborts because setbuffer tries to call a function
 via a structure of function pointers. The specific entry
 setbuffer from libc tries to call is a NULL pointer.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/3411#comment:2>
Haiku <http://dev.haiku-os.org>
The Haiku operating system.



More information about the Haiku-bugs mailing list