[pulseaudio-tickets] [PulseAudio] #158: possibly dangerous use of exit() in a shared library?

PulseAudio trac-noreply at tango.0pointer.de
Fri Nov 16 08:17:56 PST 2007


#158: possibly dangerous use of exit() in a shared library?
-----------------------+----------------------------------------------------
  Reporter:  pmasiar   |       Owner:  lennart
      Type:  defect    |      Status:  closed 
  Priority:  low       |   Milestone:         
 Component:  libpulse  |    Severity:  minor  
Resolution:  invalid   |    Keywords:         
-----------------------+----------------------------------------------------
Comment (by lennart):

 Haha, reading his thread further is quite amusing, so he "traced down"
 PA_GCC_NORETURN, and found that it yields an exit(). This is bullshit. In
 reality, PA_GCC_NORETURN is nothing but a compiler optimization for
 functions that never return:

 http://gcc.gnu.org/onlinedocs/gcc-3.3.1/gcc/Function-
 Attributes.html#Function%20Attributes

-- 
Ticket URL: <http://pulseaudio.org/ticket/158#comment:2>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list