Skip to content
Snippets Groups Projects
  • Mark Michelson's avatar
    9f7ce9da
    Fix a file playback crash and explicitly initialize values in func_timeout.c · 9f7ce9da
    Mark Michelson authored
    A crash was brought up on the bugtracker. The first run through valgrind
    was full of legitimate complaints of uninitialized values in func_timeout when
    setting a response timeout. These were fixed but the crash persisted.
    
    A second run through showed the real problem. The reference counting used
    for filestreams was incorrect because there were some missing increments
    when a frame was read from a format module.
    
    (closes issue #14118)
    Reported by: blitzrage
    Patches:
          14118v2.patch uploaded by putnopvut (license 60)
    Tested by: blitzrage
    
    
    
    git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@166267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
    9f7ce9da
    History
    Fix a file playback crash and explicitly initialize values in func_timeout.c
    Mark Michelson authored
    A crash was brought up on the bugtracker. The first run through valgrind
    was full of legitimate complaints of uninitialized values in func_timeout when
    setting a response timeout. These were fixed but the crash persisted.
    
    A second run through showed the real problem. The reference counting used
    for filestreams was incorrect because there were some missing increments
    when a frame was read from a format module.
    
    (closes issue #14118)
    Reported by: blitzrage
    Patches:
          14118v2.patch uploaded by putnopvut (license 60)
    Tested by: blitzrage
    
    
    
    git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@166267 65c4cc65-6c06-0410-ace0-fbb531ad65f3