Walter Doekes
3fab8212e3
res_timing: Don't close FD 0 when out of open files.
...
This fixes so a failure to get a timer file descriptor does not cascade
to closing FD 0.
On error, both res_timing_kqueue and res_timing_timerfd would call the
destructor before setting the file handle. The file handle had been
initialized to 0, causing FD 0 to be closed. This in turn, resulted in
floods of "CLI>" messages and an unusable terminal.
ASTERISK-19277 #close
Reported by: Barry Chern
For the master branch, this was already fixed. This patch only ensures
that we do not attempt to close a negative file descriptor.
Change-Id: I147d7e33726c6e5a2751928d56561494f5800350
2015-07-02 05:13:37 -05:00
..
2015-05-13 21:55:07 -04:00
2015-05-22 11:13:34 -05:00
2015-06-16 11:22:11 -05:00
2015-06-23 08:15:05 -05:00
2015-05-13 21:55:07 -04:00
2015-06-18 16:19:20 -05:00
2015-04-13 03:48:57 -04:00
2015-04-14 12:53:03 -04:00
2015-04-14 12:53:03 -04:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-22 11:13:34 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-04-13 03:48:57 -04:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-04 20:47:18 -04:00
2015-05-13 16:34:23 -05:00
2015-04-13 03:48:57 -04:00
2015-05-13 16:34:23 -05:00
2015-05-26 16:48:27 -04:00
2015-04-13 03:48:57 -04:00
2015-05-13 16:34:23 -05:00
2015-05-04 20:47:18 -04:00
2015-06-26 22:06:06 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-14 10:57:04 -05:00
2015-05-13 16:34:23 -05:00
2014-07-18 15:49:46 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-05-13 16:34:23 -05:00
2015-05-22 22:30:22 -05:00
2015-05-13 16:34:23 -05:00
2014-03-28 18:32:50 +00:00
2015-04-13 03:48:57 -04:00
2015-05-20 14:47:28 -05:00
2014-06-26 18:27:53 +00:00
2015-04-13 03:48:57 -04:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-04-27 18:37:26 -04:00
2015-04-13 03:48:57 -04:00
2015-05-21 18:18:57 -05:00
2015-04-13 03:48:57 -04:00
2014-01-06 17:45:25 +00:00
2015-05-13 16:34:23 -05:00
2015-05-04 20:47:01 -04:00
2015-05-13 16:34:23 -05:00
2014-10-09 17:46:23 +00:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-15 17:19:49 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-02 02:22:31 -05:00
2015-06-03 17:41:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-22 12:23:52 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-06-23 08:15:05 -05:00
2015-06-26 16:12:33 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2014-08-07 14:35:09 +00:00
2015-06-26 13:45:15 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-22 12:27:56 -05:00
2015-05-07 07:42:10 -05:00
2015-06-26 10:41:05 -05:00
2015-05-13 16:34:23 -05:00
2015-06-23 08:15:05 -05:00
2015-05-13 16:34:23 -05:00
2015-06-15 12:40:03 -05:00
2015-05-13 16:34:23 -05:00
2015-06-03 17:41:23 -05:00
2015-03-10 16:08:40 +00:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-06-10 17:00:39 +03:00
2015-05-13 16:34:23 -05:00
2015-06-26 13:36:17 -05:00
2013-11-23 17:26:57 +00:00
2015-05-13 16:34:23 -05:00
2015-04-13 03:48:57 -04:00
2015-06-10 18:06:14 -05:00
2015-05-14 05:03:43 -05:00
2015-04-13 03:48:57 -04:00
2015-05-22 22:30:22 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-04-13 03:48:57 -04:00
2015-04-29 10:48:14 -05:00
2015-06-24 17:13:31 -05:00
2015-04-13 03:48:57 -04:00
2015-06-29 14:34:58 -05:00
2015-05-13 16:34:23 -05:00
2013-09-16 18:00:32 +00:00
2015-04-13 03:48:57 -04:00
2015-03-17 22:03:01 +00:00
2015-05-13 16:34:23 -05:00
2015-05-22 22:30:22 -05:00
2013-11-23 17:48:28 +00:00
2015-05-13 16:34:23 -05:00
2014-01-14 23:44:57 +00:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2013-11-23 12:40:46 +00:00
2015-05-19 21:11:21 -05:00
2015-06-18 16:19:20 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-05-13 16:34:23 -05:00
2015-07-02 05:13:37 -05:00
2015-05-13 16:34:23 -05:00
2015-07-02 05:13:37 -05:00
2015-05-22 22:30:22 -05:00