[asterisk-bugs] [JIRA] (ASTERISK-23984) Infinite loop possible in ast_careful_fwrite()
Steve Davies (JIRA)
noreply at issues.asterisk.org
Wed Jul 2 10:57:58 CDT 2014
Steve Davies created ASTERISK-23984:
---------------------------------------
Summary: 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