[asterisk-bugs] [Asterisk 0019317]: FastAGI looping when an error happens on fgets

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 18 09:41:29 CDT 2011


The following issue has been set as DUPLICATE OF issue 0016032. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19317 
====================================================================== 
Reported By:                nicchap
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19317
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-05-18 09:05 CDT
Last Modified:              2011-05-18 09:41 CDT
====================================================================== 
Summary:                    FastAGI looping when an error happens on fgets
Description: 
Issue 0010553 patched things up when an EAGAIN or EINTR error was received
during the fgets loop. However, when we DO receive one of these errors, the
len variable should NOT be decremented unless we get a valid read res AND
no errno. Otherwise, this permits incomplete AGI requests to filter through
out of the While loop.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0016032 [patch] AGI returns bogus "510 Inv...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-18 09:41 lmadsen        Relationship added       duplicate of 0016032
======================================================================




More information about the asterisk-bugs mailing list