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

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


The following issue has been CLOSED 
====================================================================== 
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:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-05-18 09:05 CDT
Last Modified:              2011-05-18 09:40 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-18 09:40 rmudgett       Status                   new => closed       
======================================================================




More information about the asterisk-bugs mailing list