Files
asterisk/channels
George Joseph 949e9147bf AST-2017-004: chan_skinny: Add EOF check in skinny_session
The while(1) loop in skinny_session wasn't checking for EOF so
a packet that was longer than a header but still truncated
would spin the while loop infinitely.  Not only does this
permanently tie up a thread and drive a core to 100% utilization,
the call of ast_log() in such a tight loop eats all available
process memory.

Added poll with timeout to top of read loop

ASTERISK-26940 #close
Reported-by: Sandro Gauci

Change-Id: I2ce65f3c5cb24b4943a9f75b64d545a1e2cd2898
2017-05-19 11:19:09 -05:00
..
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2017-03-17 07:36:06 -06:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2017-04-27 19:08:05 -05:00
2016-10-27 09:53:55 -04:00
2012-06-15 16:20:16 +00:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00