[asterisk-bugs] [JIRA] (ASTERISK-23984) Infinite loop possible in ast_careful_fwrite()
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Thu Jul 3 06:29:57 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Jordan closed ASTERISK-23984.
----------------------------------
> Infinite loop possible in ast_careful_fwrite()
> ----------------------------------------------
>
> Key: ASTERISK-23984
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-23984
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/General
> Affects Versions: 11.10.2
> Reporter: Steve Davies
>
> Towards the end of ast_careful_fwrite(), and attempt is made to flush the userspace buffers using fflush.
> If fflush first returns EOF/EINTR, and then returns EOF/SUCCESS, errno is not reset on the second time around the loop, and is then never reset, causing an infinite 100% CPU loop.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list